Hi Alex,

You can try to use:

par(new=TRUE)

to draw the two graphs together. But keep in mind that the scale of x axis
of both graphs is using the same level. Otherwise, the graph would be messed
up.


Yi

On Tue, Apr 6, 2010 at 6:16 PM, Alexandre Serra Barreto <fcicl...@bol.com.br
> wrote:

>
>   Dear listmates,
>   could anybody help me on how to do simultaneous plots? for instance:
>   plot(x,y)
>   plot(x,z)
>   but my intention is to plot both of them simultaneously in the same
> graphic.
>   Thanks in advance,
>   Alexandre.
> ______________________________________________
> 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.
>



-- 
Yi Du
Ph. D student in Economics
University of Missouri
Department of Economics
118 Professional Building
Columbia MO  65211
1-573-239-6467

        [[alternative HTML version deleted]]

______________________________________________
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