[R] scatter graph of more than one value

Ivan Calandra ivan.calandra at uni-hamburg.de
Fri Feb 25 12:10:52 CET 2011


Hi,

Take a look at ?points, ?legend and ?par (specifically col and pch)

HTH,
Ivan

Le 2/25/2011 11:58, amir a écrit :
> Hi,
>
> I have two X1,X2 and Y1,Y2 and I want to draw them ((X1,Y1), (X2,Y2)) in
> a scatter graph.
>
> How can I draw both of them in a same graph with different legends?
> And is there any way to show different labels on each point?
>
> Regards,
> Amir
>
> ______________________________________________
> R-help at 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.
>

-- 
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Abt. Säugetiere
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calandra at uni-hamburg.de

**********
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php



More information about the R-help mailing list