Re: [R] Changing Y Axis of Plot

2010-04-27 Thread Henrique Dallazuanna
Try this; axis(2, at=z, labels=sprintf('%d%%', z * 100), col.axis = "blue", cex.axis=0.7) On Tue, Apr 27, 2010 at 1:02 PM, Jeevan Duggempudi wrote: > Hello, > > > > I have used plot function to graph two variables and would like to change > the Y axis labels to % format. So a 0.2 on Y Axis need

[R] Changing Y Axis of Plot

2010-04-27 Thread Jeevan Duggempudi
Hello, I have used plot function to graph two variables and would like to change the Y axis labels to % format. So a 0.2 on Y Axis needs to be represented as 20%. I tried to use the following but am getting a syntax error. could you point me to the mistake in this? axis(2, at=z, labels=format