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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._