[R] breaks in axis

Ben Bolker ben at zoo.ufl.edu
Tue Mar 19 15:29:45 CET 2002


  There's a little bit of stuff in my "bbmisc" package
(http://www.zoo.ufl.edu/bolker/R/windows or
http://www.zoo.ufl.edu/bolker/R/linux) for drawing the axis break itself
(it draws a couple of lines and then draws over the axis in the background
color, "erasing" it); you'll still have to manipulate the scaling etc.
yourself.
  I considered trying to make it more automatic, but decided that there
are too many special cases.

  Ben Bolker

On Tue, 19 Mar 2002, Uwe Ligges wrote:

>
>
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
318 Carr Hall                                bolker at zoo.ufl.edu
Zoology Department, University of Florida    http://www.zoo.ufl.edu/bolker
Box 118525                                   (ph)  352-392-5697
Gainesville, FL 32611-8525                   (fax) 352-392-3704

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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