[R] xlim with barplot
David Arnold
dwarnold45 at suddenlink.net
Mon Sep 23 04:55:36 CEST 2013
Hi,
I want to compare to barplots with same horizontal axis limits.
x=c(55,56,57,58,59,60,60,60,61,62,63,64,65)
y=c(35,40,45,50,55,60,60,60,65,70,75,80,85)
par(mfrow=c(2,1))
barplot(table(x),xlim=c(35,85))
barplot(table(y),xlim=c(35,85))
par(mfrow=c(1,1))
But the bars disappear.
<http://r.789695.n4.nabble.com/file/n4676717/Rplot.png>
Any suggestions?
--
View this message in context: http://r.789695.n4.nabble.com/xlim-with-barplot-tp4676717.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list