[R] y-axis with "break"

Jim Lemon bitwrit at ozemail.com.au
Sat Aug 24 13:19:57 CEST 2002

Nicolas Schneider wrote:
> Dear R-users
> I would like to draw a barplot with a special y-axis. Most of my data
> points are in the range from -50 to 50, apart from one value that is
> 550. I would now like to have a y-axis from -50 to 50, then a "break"
> and the "rest" of the y-axis, let's say from 500 to 600. In order to
> make clear what I'm trying to do, I attached a figure.
> Is it possible to do this in R?
There is an axis.break() function in 'Kickstarting R' at:


under "Contributed Documentation". It allows the user to place a
break at any point on any axis.


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