Re: [R] add one point to contourplot()

2010-06-08 Thread Thomas Stewart
Because contourplot comes from the lattice package, I think you'll want to look at these help pages: + help(trellis.focus) + help(lpoints) Below, I've used the example from help(contourplot) to demonstrate how one might add points and text to a lattice plot. -tgs # #

[R] add one point to contourplot()

2010-06-08 Thread biostat book
Hi All, I want to add one point to contourplot().  I used contourplot() in my code like contourplot(z ~ a + b |c, data) I understand there is plot.axes argument for filled.contour(), but it  did not work for my code. I also tried plot() and text() for contourplot(), but got this error: "plot.new