Hello-

I am trying to build a barplot with a fairly large number or categories
(65).
I figured out how to plot the bars with solid colors and then with
density lines
to differentiate the 65 items with the following code:

barplot(data,col = seq(2:11))
barplot(data,col = "black", density = c(0,seq(10,90,10)))

#The above produces one barplot with densities overlaid on my colored
columns

My question is how do I set up my legend to show the same color/density
pattern?

Thank you,

Matt


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to