f



how to change the unit of the axis

Hi guys,

I am plotting some variable, say y, which is measured in percent. For
example, y=[5% 10% 20% ....]

Now, when I plot y, I also want the percent sign "%" shown on the y-
axis. Do you guys know what command I should use?

Thanks a lot!

John
0
john131411 (16)
9/29/2008 11:45:55 PM
comp.soft-sys.matlab 211071 articles. 13 followers. lunamoonmoon (258) is leader. Post Follow

1 Replies
738 Views

Similar Articles

[PageSpeed] 15

An example:

plot(1:10)
set(gca,'ytickl',{'1%','2%','3%','4%','5%','6%','7%','8%','9%','10%'})
0
spamanon (2438)
9/30/2008 3:24:01 AM
Reply: