[R] 3 curves / 1 plot

Bert Gunter gunter.berton at gene.com
Thu Oct 2 20:24:04 CEST 2008


imho better: ?xyplot  using the groups argument.

-- Bert
 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Kingsford Jones
Sent: Thursday, October 02, 2008 11:17 AM
To: Michel PETITJEAN
Cc: r-help at r-project.org
Subject: Re: [R] 3 curves / 1 plot

example(matplot)

or

?points

On Thu, Oct 2, 2008 at 11:43 AM, Michel PETITJEAN
<michel.petitjean at cea.fr> wrote:
> I am a new user of R.
> Please does somebody knows how to plot 3 datasets
> (x1,a1),...,(xn,an), (x1,b1),...,(xn,bn), and (x1,c1),...,(xn,cn)
> on a single x,y plot, each of the three datasets being plotted with
> its own character pch() ?
> (three calls to plot() erase the two first datasets).
> Thank you very much.
>
> Michel Petitjean,
> DSV/iBiTec-S/SB2SM (CNRS URA 2096), CEA Saclay, bat. 528,
> 91191 Gif-sur-Yvette Cedex, France.
> Phone: +331 6908 4006 / Fax: +331 6908 4007
> E-mail: michel.petitjean at cea.fr
> http://petitjeanmichel.free.fr/itoweb.petitjean.html
>
> ______________________________________________
> 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.
>

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



More information about the R-help mailing list