[R] pairs plot and legend

2004-09-17 Thread Sean Davis
I would like to add a legend to a pairs plot.  Is there a simple way to 
do this?  Just doing legend(.) doesn't seem to get it.

Thanks,
Sean
__
[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


Re: [R] pairs plot and legend

2004-09-17 Thread Uwe Ligges
Sean Davis wrote:
I would like to add a legend to a pairs plot.  Is there a simple way to 
do this?  Just doing legend(.) doesn't seem to get it.

For sure you have specified wrong x,y values.
See par(usr) for the range or try it interactively using:
legend(locator(1), ..)
Uwe Ligges

Thanks,
Sean
__
[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