[R] plot, y-axis, uneven scale???
Gabor Grothendieck
ggrothendieck at gmail.com
Thu Mar 3 22:41:39 CET 2011
On Thu, Mar 3, 2011 at 4:09 PM, yan liu <yanliusun at gmail.com> wrote:
> Hello,
>
> I have a question about the y-axis of plots. Actually I had about 60
> values. About 80 percent of these values are less than 0.2, then the other
> 20 percent values are more than 4,max is 10. So when I plot these values
> together, the y-axis's range will go 0 to 10, and my major values (80%
> values <0.2) will be pressed around 0 on the bottom, while other several
> dots will scatter in the major part of the plot area.
>
> Does anyone know how to assign the y-axis with uneven (jumping) ticks with
> same width, like 0, 0.1, 1, 10,100 with the same width between?
>
> Thanks a lot!
>
> Yan
See the log= argument to plot (its actually listed under
?plot.default). Also eaxis in sfsmisc.
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
More information about the R-help
mailing list