[R] Bar widths in barplots don't change

s-luppescu@uchicago.edu s-luppescu at uchicago.edu
Mon Feb 5 18:30:38 CET 2001


On 05-Feb-2001 Thomas Lumley wrote:
> 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=

I set space=0 because I want no space BETWEEN bars. But I only have two bars
that are rather short, so I want to make the width of the bars narrower so the
bars don't look so squat. Isn't it width= I want to manipulate?
______________________________________________________________________
Stuart Luppescu         -=-=-  University of Chicago
$(B:MJ8$HCRF`H~$NIc(B        -=-=-  s-luppescu at uchicago.edu
http://www.consortium-chicago.org/people/sl.html
http://musuko.uchicago.edu/pubkey.asc for PGP Public Key
ICQ #21172047  AIM: psycho7070
There is no security on this earth.  There is only opportunity.
                -- General Douglas MacArthur
>> Sent on 05-Feb-2001 at 11:29:00 with xfmail
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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