Hi there,

I made a plot with histogram and the curve of kernel density estimation together. The question is to add a legend to it. What I want is to use a small box with shade representing the histogram and a line representing the kernel estimation. Is there any way to implement this?

Thanks a lot.

Haiyong

______________________________________________
[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

Reply via email to