[R] Question about legend

Arne Henningsen ahenningsen at email.uni-kiel.de
Fri Feb 18 12:19:47 CET 2005


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

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
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list