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 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) > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.