[R] Question about legend

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Feb 18 13:12:27 CET 2005


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