[R] Uneven y-axis scale

Jim Lemon bitwrit at ozemail.com.au
Thu Apr 6 17:34:33 CEST 2006


Kåre Edvardsen wrote:
> Dear R-gurus!
> 
> Is it possible within boxplot to break the y-scale into two (or
> anything)? I'd like to have a normal linear y-range from 0-10 and the
> next tick mark starting at, say 60 and continue to 90. The reason is for
> better visualising  the outliers.
> 
Hi Kare,

In the plotrix package, there are two functions, gap.plot amd 
gap.barplot, that do something like this. If you think that they are 
sufficiently close to what you want, I could have a try at doing a 
gap.boxplot function.

Jim




More information about the R-help mailing list