Dear R-help members,
I am trying to plot annotate a filled contours plot (with filled.contour)
with a grid of points. I have read ways of annotating it with individual
points but not with grids in another matrix.
Any ideas?
Thank you very much.
Dario
Dario,
Checkout the 'plot.axes' argument to 'filled.contour'.
Michael Grant
--- On Fri, 2/6/09, Dario Martin-Benito dmar...@inia.es wrote:
From: Dario Martin-Benito dmar...@inia.es
Subject: [R] annotating a filled contours plot with a grid of points
To: r-help@r-project.org
Date: Friday,
Try this example:
mygrid - expand.grid(x=seq(0,1, by=0.1), y=seq(0,1, by=0.1))
filled.contour(volcano, color = terrain.colors, asp = 1,
plot.axes={ axis(1); axis(2); points(mygrid, cex=0.5, pch=19)})
Cheers,
Marcelino
From: Dario Martin-Benito dmartin at inia.es
Subject:
3 matches
Mail list logo