[R] breaks in axis

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Mar 19 08:27:48 CET 2002

Arne Mueller wrote:
> Hello,
> is there a easy way to get a break into an axis line to indicate that one
> has removed a part of the axis to save space. The jajority of my data
> points is between 0 and 5, and just one data point goes up to 20. I'd just
> like to put in a break between 5.5 and 25.

AFAIK: No. You will have to manipulate the plot manually.

I'd suggest to set this one data plot to a reasonable value, say 8, plot
without an axis and make an axis manually (of course labeled with 20 at
the location of 8). You can also mark the break in the axis with two
lines, for example.

Uwe Ligges
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list