[R] Breaking y- axis using gap.barplot
riviverma at iisermohali.ac.in
riviverma at iisermohali.ac.in
Tue Feb 10 06:41:27 CET 2015
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 108 24 8 1 3 0 1 6 3
on using: gap.barplot(hdata$counts, gap=c(26,108), xlab="RMSD",
ytics=c(0,25,110), ylab="Frequency", xtics=hdata$breaks)
the plot does not seems correct.
Please help.
More information about the R-help
mailing list