[R] Contour plot overlayed with line plot

Michael Prager Mike.Prager at noaa.gov
Sat May 13 18:02:01 CEST 2006


It seems you have figured out a solution; for another example, you could 
look here:

http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=90

Mike

Jonathan Greenberg wrote on 5/10/2006 7:46 PM:
> 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!
>
> --j 
>
>   

-- 
Michael H. Prager, Ph.D.
Population Dynamics Team
NOAA Center for Coastal Habitat and Fisheries Research
NMFS Southeast Fisheries Science Center
Beaufort, North Carolina  28516  USA
http://shrimp.ccfhrb.noaa.gov/~mprager/




More information about the R-help mailing list