[R] Y-axis range in histograms

Jannis bt_jannis at yahoo.de
Tue Jun 1 03:09:09 CEST 2010


library(plotrix)

break.axis()

No clue how good this works with histograms though.....


HTH

Jannis

Aarne Hovi schrieb:
> Hi,
>
> I'm trying to create a histogram with R. The problem is that the frequency
> is high for a couple of x-axis categories (e.g. 1500) and low for most of
> the x-axis categories (e.g. 50)  
> http://r.789695.n4.nabble.com/file/n2237476/LK3_hist.jpg . When I create the
> histogram, it is not very informative, because only the high frequencies can
> be seen clearly. Is there any way I could cut the y-axis from the middle so
> that the y-axis values ranged for example from 0 to 300, and then again from
> 900 to 1500?
>



More information about the R-help mailing list