[R] Legends for line and point data

Steve Murray smurray444 at hotmail.com
Mon Mar 29 12:45:52 CEST 2010


Dear all,

I have a plot which contains 4 data series displayed using solid, dashed and dotted lines, and also points. How do I use lty and pch together to signify that the first legend item is a solid line, the second is point data (pch=16), the third is dashed and the fourth is dotted?

Many thanks,

Steve
 		 	   		  
_________________________________________________________________
Do you have a story that started on Hotmail? Tell us now



More information about the R-help mailing list