R-beta: Plot legend

E. S. Venkatraman venkat at biosta.mskcc.org
Thu Jul 23 16:48:40 CEST 1998


I am trying to use a legend for a data set plotted with both points and
lines.  If I use     
       legend(x,y,c("test 1","test 2"),lty=1:2,pch=c("x","o"))   
I get

                        x   ------    test 1
                        o   ......    test 2

Is there any way I can get 

                          ---x---    test 1
                          ...o...    test 2

Thanks
E. S. Venkatraman

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list