[R] barplot: space between axis and bars

Daniel Stepputtis daniel.stepputtis at vti.bund.de
Wed Sep 15 13:54:21 CEST 2010


Hi all,
I have a problem with a rather simple plot (which I have used several 
times) - barplot.

I want to create a barplot, where no space is between the axis and the bars.

Example:
barplot(rnorm(10), space=0)

creates a vertical axis at the left and bars. I want to skip the space 
between both.

Thank you for your help.
Daniel



More information about the R-help mailing list