[R] 3D scatter plot with projections

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Jan 8 16:54:34 CET 2011



On 08.01.2011 16:38, Gang Chen wrote:
> I want to create some 3D scatter plot with a diagonal line. In addition, I'd
> like to have those points plus the diagonal line projected to those three
> planes (xy, yz and xz). Which package can I use to achieve this,
> scatterplot3d or something else?

Yes, scatterplot3d, rgl, and maybe also others.

For looking at it interactively I always prefer rgl, for statical 
representations (e.g. printing) scatterplot3d can be used with all known 
R devices.

Best,
Uwe Ligges




> Thanks,
> Gang
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> 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 mailing list