[R] Plot Legend

RMSOPS
Mon, 24 Oct 2011 20:30:58 -0000

Hello Michael,

     You were absolutely right, it was not the database mtcars I wanted to
use. but the example you sent me helped me a lot.
   I took the code that I adapted to this and what I wanted and resulted in
perfection.
    Thank you for your help.

 dataset
 *with (dataset, plot (dataset $ Na, K $ dataset, $ col = dataset Drug, type
= "p", pch = 20))
 with # (dataset, legend ("top", legend = unique (Drug), pch = unique
(dataset $ Drug)))
 with (dataset, legend ("bottom", legend = unique (dataset $ Drug),
pch 20, col  unique (dataset $ Drug)))*

--
View this message in context:
http://r.789695.n4.nabble.com/Plot-Legend-tp3932687p3934467.html
Sent from the R help mailing list archive at Nabble.com.