[R] Bar widths in barplots don't change
Thomas Lumley
tlumley at u.washington.edu
Mon Feb 5 17:52:17 CET 2001
On Mon, 5 Feb 2001 s-luppescu at uchicago.edu wrote:
> Is the width= parameter in barplot() supposed to work? I couldn't get it to
> work in my plot, and even in the example,
>
> data(VADeaths, package = "base")
> barplot(VADeaths, width=rep(0.1, 4))
>
> the plot looks identical regardless of what I put in for the width. I looked at
> the source for barplot() and it looks like it SHOULD work (but what do I know).
width= controls relative widths of bars. You probably want space=
-thomas
Thomas Lumley Asst. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list