[R] Plots with Y axis split into two scales

Greg Snow 538280 at gmail.com
Tue Feb 25 19:47:15 CET 2014

One option is the gap.plot function in the plotrix package.

On Tue, Feb 25, 2014 at 10:18 AM, David Parkhurst <parkhurs at imap.iu.edu> wrote:
> I have a "Y" variable with many values less than 50, and many fewer
> between 50 and 250.I'd like to plot those Y's against an X, with two
> scales on the Y axis---maybe 60% of the axis height for 0-50 and the top
> 40% for 50-250.(I can't use log(Y) because there are many zeroes, and
> that is the most desirable value.)
> I think I've seen plots done that way, but is there a way to create them
> in R?
> Thanks for any help.
>         [[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.

Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com

More information about the R-help mailing list