[R] Filled contour plot showing labeled isolines?
Fiona Berryman
f.berryman at wlv.ac.uk
Thu Nov 25 14:57:06 CET 2010
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.
More information about the R-help
mailing list