Skip to content
Prev 385691 / 398503 Next

Mapping 2D to 3D

When dealing with a 2-d density plot, the z variable is a predefined function of your x and y data, it is not something you can specify. If you want to specify z, then you need to use geom_contour. You appear to need to study the theory of kernel density estimates, which is off topic here. (Technically contributed packages like ggplot2 are off topic here also, though sometimes people will answer questions about them anyway.)
On September 18, 2020 6:34:43 PM PDT, H <agents at meddatainc.com> wrote: