Skip to content
Prev 4007 / 398513 Next

barplot

"Zdenek Skala" <Zdenek.Skala at incoma.cz> writes:
0.2 to 0.8, no?
Yes, and yes. The axis settings use yaxs='i' (or xaxs if horizontal)
which sets the plot boundaries equal to the ylim (stated or computed)
and marks the axes "internally". The endpoints of the axes are not
considered to be internal (this is the bug, they are in Splus).

Quick workaround is: 

barplot(c(.1,.5,1.0),ylim=range(-.01,1.01))