HI
am plotting different density plots in one graph each with a different
color.
And i want to add labels to plot mentioning which color belongs to which
data series.
p2 <- qplot(corArms, data = data1, geom = "density", adjust=0.4, main="Arms
Correlation All") +
layer(data=data2, geom="density", adjust=0.4, color=I(2)) +
layer(data=data3, geom="density", adjust=0.4, color=I(3));
how can i add such a legend. Any pointers?
thanks a million
Mo.
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
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.