[R] dimensions of stacked barplot

Michael D. Sohn mdsohn at lbl.gov
Tue Jan 8 18:30:30 CET 2002


I'm plotting stacked barplots using:

> barplot(tmp, beside=F)

This gives me several stacked bars.  Each stack is divided into several
segments.  I'd like to add a dotted line from the edge of one segment to
the same edge on the next stacked bar.  This might help to see which
stack shrinks or expands from one stacked bar to the next.

I'm thinking that I could overlay dotted lines on the barplot.  Is there
an easier way?  If not, how do I get the location of each of the
segments?

thanks,
Mike


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