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

From: Henrique Dallazuanna <wwwhsd_at_gmail.com>
Date: Tue, 22 Jul 2008 08:13:07 -0300

Try this:

barplot(x, yaxt="n")
axis(2, axTicks(2), format(axTicks(2), scientific = F))

On 7/21/08, Bill Cunliffe <bill_at_elevationllc.net> 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_at_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_at_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.
Received on Tue 22 Jul 2008 - 11:16:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Jul 2008 - 11:31:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive