Closed flying-sheep closed 9 years ago
Unfortunately this is outside the scope of ggplot2
and why, if i may ask?
interesting -- anyone have any insight on the main challenges for representing 3d surfaces or scatterplots in ggplot2::
??
from a user perspective, the syntax could be straightforward:
ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, z=Petal.Length, color=Species) +
geom_3d_scatter()
but obviously this says nothing about how complicated the implementation would have to be!
Have a look at https://github.com/AckerDWM/gg3D
But be aware that there are probably reasons beyond technical for the lack of 3D support in ggplot2
“out of scope” includes the possibility of a technical reason in my eyes, as well as “it’s too hard to implement” and “it inflates the API too much”.
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
For techniques like spectral decomposition (PCA, diffusion maps, …), the actual units on the axes are less important than visual closeness and separation.
A 3D→2D projection of three principal/diffusion components is therefore desirable and more useful than a plot matrix (like ggpairs)