[R] asking about contour plot with R

From: <nferreri_at_fceia.unr.edu.ar>
Date: Fri, 08 Apr 2011 10:16:51 -0300 (ART)

I'm working in Rosario, Argentina, trying to plot some contours.

I found the function "draw.contour" created by James Forester at R-bloggers. If you take a look at that function you'll see it's very useful!

But I have a problem with it and James is trying to help me (but also asked me to seek for more help) I hope you can help me (don't worry if you can't):

Using "draw.contour" I get the contour but I want to place it in a cartesian-coordinate system where x = "Componente 1" range between -1 y 1 and y = "Componente 2" range between 0 and 3, regardless of xrange or yrange.

Of course, xrange and yrange are important to obtain an adequate contour plot but I want to see that contour in the cartesian coordinate system I told you before.

so I put ylim = c(0,3) and xlim = c(-1,1) but R ignores those sentences and gives me a graphic using xrange and yrange as limits

can anyone help me? I hope you can understand my problem (and my poor english!!!). if you don't, tell me and i'll send you more information

thank you very much!!!

noemí ferreri

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. Received on Fri 08 Apr 2011 - 16:01:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 08 Apr 2011 - 16:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive