[R] Plot contour over filled contour

Dieter Menne dieter.menne at menne-biomed.de
Thu Mar 13 19:37:30 CET 2008


Devred, Emmanuel <DevredE <at> mar.dfo-mpo.gc.ca> writes:

> I haven't found a way in the searchable archive to overplot a contour
> (lines) over a surface.
> I have a (n,m)  matrix that represents sea surface temperature that I
> have plotted using image.plot(), filled.contour() or image(). I would
> like to overplot this image with some contour lines of mixed layer depth
> values(same size matrix). How can I do this?
> 

When I search for contour (nothing else), the first item by Uwe Ligges is
probably what you want:

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/2211.html

Dieter



More information about the R-help mailing list