apply the xlim/ylim in the initial plot
plot(..., xlim=range(H2, H.10, H.20, H.50, H.100), ylim=range(D2,
D.10, D.20, D.50, D.100))
On Wed, Nov 10, 2010 at 12:50 PM, dpender <d.pender at civil.gla.ac.uk>
wrote:>
> R community,
>
> I am creating a bivariate return level plot by adding calculated return
> period values as lines onto an existing plot using the following code with
> the points representing the return periods.
>
> plot(H2,D2,pch="+",axes=TRUE)
> points(H.10,D.10, type="l",col="blue")
> points(H.20,D.20, type="l",col="green")
> points(H.50,D.50, type="l",col="red")
> points(H.100,D.100, type="l",col="orange")
>
> The problem is that my return period values are greater than the data
values
> and therefore are partially cut out of the plot.
>
> How can I increase the axes limits in order to include all of the return
> period lines?
>
> I've tried ## xis(2,at=seq(35,max(D.100),by=20)) ## but it doesn't
work.
>
> Thanks,
>
> Doug
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/Plot-Axes-tp3036571p3036571.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?