[R] Filled contour plot showing labeled isolines?
S Ellison
S.Ellison at lgc.co.uk
Thu Nov 25 15:09:02 CET 2010
If you usre filled.contour, then use contour() as a part of the function
supplied as the axis parameter, you can correctly overlay contours on
the colour contour plot.
Steve e
-----Original Message-----
From: Fiona Berryman <f.berryman at wlv.ac.uk>
To: <r-help at r-project.org>
Sent: 11/25/2010 13:57:06
Subject: Re: [R] Filled contour plot showing labeled isolines?
jt306 wrote:
>
> Is it possible to create a contour plot with the isolines labeled. I
know
> you can do this with Matlab. Argh!
>
> I tried creating a filled contour plot, then using par(new=T),
followed by
> overlaying the contour plot on top. However, the placement of the
filled
> contour plot and the contour plot do not align correctly. Any
suggestions
> would be appreciated.
>
> Thanks,
> Jon
>
>
>
>
Jon,
I don't use filled.contour but image and then contour.
Try this.
image(volcano)
contour(volcano,add=TRUE)
Is this what you want?
Regards,
Fiona
--
View this message in context:
http://r.789695.n4.nabble.com/Filled-contour-plot-showing-labeled-isolines-tp3056437p3058974.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.
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}
More information about the R-help
mailing list