Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.44.0203270926230.9078-100000@localhost.localdomain>
Date: 2002-03-27T08:28:31Z
From: Ott Toomet
Subject: Vertical bars with barchart()
In-Reply-To: <202822BFB70EBC4BB3EAFD853EE2B6BF5A5429@pnlmse10.pnl.gov>

I am not quite sure what do you mean with barchart (I have not the
particular book) but I think barplot() is what you are looking for.

Try

barplot(rnorm(10))
barplot(rnorm(10), horiz=TRUE)

regards,

Ott Toomet

On Tue, 26 Mar 2002, Waichler, Scott R wrote:

  |
  |I would like to create a barchart that has vertical instead of horizontal
  |bars.  My goal is something similar to Figure 6.10 (p. 166) in
  |"The Basics of S and S-plus," except for the orientation of the bars.
  |I don't think bwplot() or xyplot() will work.  Any suggestions?
  |
  |Scott Waichler
  |
  |Hydrology Group/Environmental Technology Division
  |Battelle Pacific Northwest National Laboratory
  |(email) scott.waichler at pnl.gov
  |
  |-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
  |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
  |_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  |

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._