Re: [R] Contour on top of 2d histogram

2011-11-17 Thread Sramkova, Anna (IEE)
___ Von: R. Michael Weylandt [michael.weyla...@gmail.com] Gesendet: Mittwoch, 16. November 2011 18:43 Bis: Sramkova, Anna (IEE) Cc: r-help@r-project.org Betreff: Re: [R] Contour on top of 2d histogram Try the add = TRUE argument to contour. Michael On Wed, Nov 16, 2011 at 12:35 PM, Sramkova,

Re: [R] Contour on top of 2d histogram

2011-11-16 Thread R. Michael Weylandt
Try the add = TRUE argument to contour. Michael On Wed, Nov 16, 2011 at 12:35 PM, Sramkova, Anna (IEE) wrote: > Hi all, > > I would like to plot one data set as a 2d histogram and another one as a > contour. I can do it separately with the > "hist2d" and "contour" functions, but I wonder if the

[R] Contour on top of 2d histogram

2011-11-16 Thread Sramkova, Anna (IEE)
Hi all, I would like to plot one data set as a 2d histogram and another one as a contour. I can do it separately with the "hist2d" and "contour" functions, but I wonder if there is a way to combine these two plots into a single one (the ranges of the two plots are the same). Any suggestions? T