Arne Henningsen wrote:

type "?legend" (and please read the posting guide)


I don't think it is that easy, but you have to tweak manually., e.g. by two calls to legend.

Uwe Ligges


On Friday 18 February 2005 11:11, Haiyong Xu wrote:

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


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

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