Brian Hook wrote:

I'm having a hard time modifying the legend that is emitted by default when calling plot(density(...)) and then legend(). I've looked at the docs and I'm not sure what I'm doing wrong, if anything. Any advice appreciated.

So, can you tell us what is wrong with
set.seed(123)
plot(density(rnorm(100)))
and where the legend is? Maybe you don't like the defaults for "xlab" or "main"?


Uwe Ligges

Thanks,

Brian

______________________________________________
R-help@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@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

Reply via email to