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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to