Re: [R] plot, y-axis, uneven scale???

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Thu, 03 Mar 2011 16:41:39 -0500

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

______________________________________________
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 Thu 03 Mar 2011 - 21:44:25 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 Thu 03 Mar 2011 - 22:40:19 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