Re: [R] Y-axis range in histograms

2010-05-31 Thread Jannis
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 categorie

Re: [R] Y-axis range in histograms

2010-05-31 Thread Duncan Murdoch
On 31/05/2010 10:49 AM, Aarne Hovi wrote: 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 c

Re: [R] Y-axis range in histograms

2010-05-31 Thread Ted Harding
On 31-May-10 14:49:43, Aarne Hovi wrote: > 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 .

Re: [R] Y-axis range in histograms

2010-05-31 Thread Andy Rominger
A few ideas: Make a log-scale y-axis like: hist(my.data,...,log="y") argument yaxp can help make the ticks look pretty...see ?par. Or use various functions from the package `plotirx': axis.break and gap.barplot might be helpful. For those functions, you'll probably need to get your frequencies

[R] Y-axis range in histograms

2010-05-31 Thread Aarne Hovi
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 informa