[R] Contour plot overlayed with line plot

Jonathan Greenberg jgreenberg at arc.nasa.gov
Thu May 11 01:46:50 CEST 2006

I apologize for what may be a newbie question: I have two sets of data, one
is X,Y,Z data that I'd like to make a contour plot of (Z defining the
contours), and a second set of X,Y data (Y as a function of X) which I would
like made into a line plot OVERLAYED on the contour plot (X and Y from both
plots are in the same units and will have overlapping values).  Any
suggestions on how to do this in R?  Thanks!


Jonathan A. Greenberg, PhD
NRC Research Associate
NASA Ames Research Center
MS 242-4
Moffett Field, CA 94035-1000
AIM: jgrn307
MSN: jgrn307 at hotmail.com

More information about the R-help mailing list