On Aug 9, 2010, at 3:14 PM, array chip wrote:
Hi, I have a simple plot by plot(x,y, log='xy'). However, due to the
large range
of values of x, the x-axis annotation is printed as "2e+02 1e+03 5e
+03 2e+04
1e+05" instead of "200 1000 5000 20000 100000". How can I make
it printed
as in the later one?
?options # especially scipen
> options("scipen" =3)
> plot(c(200 , 1000 , 5000 ,20000 , 100000)) # "works for me"
> options("scipen" =0) # the default
Thanks
John
______________________________________________
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.
David Winsemius, MD
West Hartford, CT
______________________________________________
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.