[R] plot, y-axis, uneven scale???
Greg Snow
Greg.Snow at imail.org
Thu Mar 3 22:18:29 CET 2011
You probably want to use the gap.plot function in the plotrix package.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of yan liu
> Sent: Thursday, March 03, 2011 2:09 PM
> To: r-help at r-project.org
> Subject: [R] plot, y-axis, uneven scale???
>
> 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
>
> [[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.
More information about the R-help
mailing list