[R] Creating a Legend

2008-09-23 Thread Steve Murray
Dear all, I'm trying to create a legend for my graph. I hope to have the title as Land Use Type and the two elements being Urban and Rural with a red point and green point respectively. So far I have the following command, but obviously it isn't correct: legend(topright, title=Land Use

Re: [R] Creating a Legend

2008-09-23 Thread John Fox
: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Murray Sent: September-23-08 12:57 PM To: r-help@r-project.org Subject: [R] Creating a Legend Dear all, I'm trying to create a legend for my graph. I hope to have the title as Land