[R] x,y plot question (two sets of labels)

2010-01-20 Thread Jonathan Greenberg
I'm trying to figure out the best way to do a scatterplot using the following data as an example: plothelp_x=1:10 plothelp_A1=sin(plothelp_x) plothelp_A2=tan(plothelp_x) plothelp_B=c(A,B,C,A,B,C,A,B,C,A) (note that all 4 of these vectors have 10 entries each) What I would like is to have two

Re: [R] x,y plot question (two sets of labels)

2010-01-20 Thread Peter Alspach
and others. For the key, check the help for legend: ?legend HTH Peter Alspach -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jonathan Greenberg Sent: Thursday, 21 January 2010 12:54 p.m. To: r-help Subject: [R] x,y plot