Try

par(xaxs="i")
barplot(rnorm(10), space=0)

-tgs

On Wed, Sep 15, 2010 at 7:54 AM, Daniel Stepputtis <
daniel.stepputtis@vti.bund.de> wrote:

> 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
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

