Re: [R] y-axis number format on plot, barplot etc.

2008-07-22 Thread Henrique Dallazuanna
Try this: barplot(x, yaxt="n") axis(2, axTicks(2), format(axTicks(2), scientific = F)) On 7/21/08, Bill Cunliffe <[EMAIL PROTECTED]> wrote: > I am trying to change the number format shown on the y-axis from scientific > 5e05, to 500,000 etc. Does anyone know how to do this? > > > > Is there som

[R] y-axis number format on plot, barplot etc.

2008-07-21 Thread Bill Cunliffe
I am trying to change the number format shown on the y-axis from scientific 5e05, to 500,000 etc. Does anyone know how to do this? Is there something I can add as an argument to barplot, or would it be through par? barplot(data$Value, names.arg = as.vector(data$Field), main=strTitle)