plot(...)
par(new=TRUE)
plot(..., axes=FALSE, xlab='', ylab='')  # prevent redraw of the axis
axis(4)   # add secondary y-axis on the right.

On Sun, May 18, 2008 at 4:44 PM, hanen <hanen.mastouri@yahoo.fr> wrote:

>
> i try to use par(new=TRUE) i get them at the same graph but the y_axis and
> x_axis are drowen with two unevenly graduations that graph become
> unreadable.
> --
> View this message in context:
> http://www.nabble.com/two-curves-at-one-graph-tp17307590p17307590.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<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

	[[alternative HTML version deleted]]

