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: [R] annotating a filled contours plot with a grid of points > To: r-help <at> r-project.org > Date: Friday, February 6, 2009, 8:23 AM > 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 Martin-Benito > CIFOR-INIA > Dpto. Sistemas y Recursos Forestales > Ctra. La Coruña, Km. 7.5 > E-28040 Madrid (Spain ) > Tel.: +34 91 347 1461 > e-mail: dmartin <at> inia.es /// dmartinbenito <at> gmail.com > > <http://dmartinbenito.googlepages.com>http://dmartinbenito.googlepages.com > ________________________________ Marcelino de la Cruz Rot Departamento de Biología Vegetal E.U.T.I. Agrícola Universidad Politécnica de Madrid 28040-Madrid Tel.: 91 336 54 35 Fax: 91 336 56 56 marcelino.delac...@upm.es _________________________________ [[alternative HTML version deleted]]
______________________________________________ R-help@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.