[R] 2D and 3D graphing
|mh_u@er@-group@ @end|ng |rom mo|conn@com
Mon Mar 23 23:01:32 CET 2020
I use rgl for 3D plots.
Mostly I use this for a 3D scatter plot where I can zoom and pan for closer analyses
of the data. I also can manually connect any points with lines. It took me a bit to
get the options right so the plot appears the way I want it to. In my opinion, there
are a few unresolved issues with the units and labels on the axis, but most of the
data I looked at was in principle components so x, y, and z were in the same units.
I can post a sample of the terminal input that I used if that would help.
Ek Esawi wrote:
> Hi All--
> I have been looking into 2D and 3D graphing packages. Based on what i
> read, it seems that ggplot2 is the best and I like it too, but ggplot2
> doesn't have 3D plotting capabilities. I read that other packages
> (plot_ly, rgl, rayshader) can be used with ggplot2 to create 3D
> charts, but not sure if that’s the way to go.
> The question is: what is/are the best 2D and 3D graphing packages? I
> read that lattice, and a few others, has “limited” 3D charting
> Thanks in advance--EK
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help