Discussion:
[R] contour plot - smooth lines
tommaso.letterio
2008-12-27 08:32:22 UTC
Permalink
Dear R-Users,
I am using 'contour' to plot a graph using values x,y and a matrix z.
I would like to obtain 'smooth lines' instead of no-smooth contour lines.
I tried with filled.contour too.
In a Post I found
yy <-predict(interpSpline(x, y))
I could use that method for each range that I want to plot but I hope
to find a easier method.

Thank you

Tommaso Letterio
DIAF - UniFi
Via San Bonaventura 13
Firenze (IT) - 50145
+39-055-3288605
Uwe Ligges
2008-12-27 15:46:03 UTC
Permalink
Post by tommaso.letterio
Dear R-Users,
I am using 'contour' to plot a graph using values x,y and a matrix z.
I would like to obtain 'smooth lines' instead of no-smooth contour lines.
I tried with filled.contour too.
In a Post I found
yy <-predict(interpSpline(x, y))
I could use that method for each range that I want to plot but I hope to
find a easier method.
You could also increase the resolution, but that makes your graphics
rather huge...

Uwe Ligges
Post by tommaso.letterio
Thank you
Tommaso Letterio
DIAF - UniFi
Via San Bonaventura 13
Firenze (IT) - 50145
+39-055-3288605
______________________________________________
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.
Loading...