[R] x-axis annotation
array chip
arrayprofile at yahoo.com
Mon Aug 9 22:05:52 CEST 2010
Thank you David!
----- Original Message ----
From: David Winsemius <dwinsemius at comcast.net>
To: array chip <arrayprofile at yahoo.com>
Cc: r-help at r-project.org
Sent: Mon, August 9, 2010 12:42:06 PM
Subject: Re: [R] x-axis annotation
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 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.
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list