[R] Barplot coloring question

Marc Schwartz mschwartz at medanalytics.com
Mon Jul 29 22:40:35 CEST 2002


> Original Message snipped
>
> Again, keep in mind that all of the bar segments for all of the bars
are being
> drawn inside the *single* call to xyrect(), thus you need to pass the
full vector
> of three colors to xyrect() at once if you want each segment to be a
different
> color.

A quick clarification, in that the single xyrect() call is drawing the
segments for each bar individually and it is the "i" loop that cycles
through each bar.

Apologies. I mis-typed the process, though my head knew what I meant...
;-)

Marc


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