[R] RES: How do I plot multiple XY plots on the same graph

Rodrigo Aluizio r.aluizio at gmail.com
Thu Jan 1 14:14:21 CET 2009


Also, you can take a look at ?matplot function, depending on the type of
data and graphic output you want, it may b useful.

Best Wishes
___________________________________
MSc. Rodrigo Aluizio
Centro de Estudos do Mar/UFPR
Laboratório de Micropaleontologia
Avenida Beira Mar s/n - CEP 83255-000
Pontal do Paraná - PR - BRASIL
Fone: (0**41) 3455-1496 ramal 217
Fax: (0**41) 3455-1105



-----Mensagem original-----
De: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Em
nome de Carlos J. Gil Bellosta
Enviada em: quinta-feira, 1 de janeiro de 2009 10:27
Para: George Chen
Cc: r-help at r-project.org
Assunto: Re: [R] How do I plot multiple XY plots on the same graph

Hello,

You can use plot for the first plot and points for the subsequent ones.

Points will add new points to the existing plot reusing the axes,
labels, etc.

Best regards,

Carlos J. Gil Bellosta
http://www.datanalytics.com


On Wed, 2008-12-31 at 15:36 -0800, George Chen wrote:
> Hello,
> I have multiple data sets I would like to plot on the same XY scatterplot.
> The data sets have in common the same Y values.
> Could somebody tell me how to do this?
> I tried par(T=new)   (I think this was it) but it literally overlays plots
on each other.
> 
> Thanks in advance.
> 
> George
> 
> ______________________________________________
> 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