Re: [R] Breaking y- axis using gap.barplot

2015-02-10 Thread riviverma
Thank you for the reply. Can I have a gap starting from 50 instead of 120 so that the values with lower frequency can show up more predominantly? > Hi reviverma, > I think your problem is that you have chosen the wrong gap, as it cuts > out all of the small bars. Try this: > > gap.barplot(hdata$

Re: [R] Breaking y- axis using gap.barplot

2015-02-10 Thread Jim Lemon
Hi reviverma, I think your problem is that you have chosen the wrong gap, as it cuts out all of the small bars. Try this: gap.barplot(hdata$counts, gap=c(120,15900), xlab="RMSD", ytics=c(0,100,16000,16100,16200,16300),ylab="Frequency", xtics=hdata$breaks) Note that you have one more "breaks" th

[R] Breaking y- axis using gap.barplot

2015-02-10 Thread riviverma
Hello all I am trying to plot histogram with break in y-axis for my data by following various posts on R- help but none seems solving my problem. My data looks like: > hdata $breaks [1] 0 5 10 15 20 25 30 35 40 45 50 $counts [1] 16311 10824 8 1 3 0 1 6 3 on