I'm trying to generate a bar plot from the following data frame
seq     left    deleted right   mh
1       125     175     132     0
2       125     225     82      3
3       200     150     82      3
4       300     80      52      2
5       165     205     62      7
where x="seq", y is a stack of "left", "deleted", and "right" values. then
color left and right segments with color from palette (e.g. brewer 
yellow-orange-red) as determined by z="mh"
Any help appreciated



--
View this message in context: 
http://r.789695.n4.nabble.com/X-Stacked-bars-of-Y-values-with-bar-segments-colored-according-to-Z-tp4712955.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to