Re: [R] 2D filled.contour plot with 1D histograms by axes

2013-03-23 Thread Jing Lu
Sorry, I didn't reply the email, because I post my question to: http://stackoverflow.com/questions/15511290/discrete-data-for-ggplot-stat-density2d I switched to ggplot2, and tried stat_density2d. But I got error for a few count data descriptors: Error in function (x, y, h, n = 25, lims = c(range

Re: [R] 2D filled.contour plot with 1D histograms by axes

2013-03-09 Thread Greg Snow
Instead of "read the manual", how about "read the answers that you have already received". Or tell us why those answers are not good enough. Or you can read the manual on the .filled.contour function (which is on the same page as filled.contour). On Fri, Mar 8, 2013 at 10:05 AM, Jing Lu wrote:

Re: [R] 2D filled.contour plot with 1D histograms by axes

2013-03-09 Thread Jim Lemon
On 03/09/2013 04:05 AM, Jing Lu wrote: Hi everyone, I hope this question is beyond "read the manual". My task is simple, just to plot the following, but the plot in the middle should be a filled.contour plot: http://gallery.r-enthusiasts.com/graph/Scatterplot_with_marginal_histograms_78 Backgro

Re: [R] 2D filled.contour plot with 1D histograms by axes

2013-03-08 Thread David Winsemius
On Mar 8, 2013, at 9:05 AM, Jing Lu wrote: > Hi everyone, > > I hope this question is beyond "read the manual". My task is simple, just > to plot the following, but the plot in the middle should be a > filled.contour plot: > http://gallery.r-enthusiasts.com/graph/Scatterplot_with_marginal_histog

[R] 2D filled.contour plot with 1D histograms by axes

2013-03-08 Thread Jing Lu
Hi everyone, I hope this question is beyond "read the manual". My task is simple, just to plot the following, but the plot in the middle should be a filled.contour plot: http://gallery.r-enthusiasts.com/graph/Scatterplot_with_marginal_histograms_78 Background: I prefer filled.contour rather than