Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

3d Vector plotting and visualization in R

Anyone know of any packages in R that can plot 3D vectors? I would like to plot some vectors over a 3 dimensional data set. I know scatterplot3d looks like it should be able to do the job, but I didn't see any documentation for vectors specifically (I would like to be able to change the origin of vectors as well).

like image 718
tkg Avatar asked Oct 03 '22 02:10

tkg


1 Answers

rgl is a great package for 3d plotting. It is very like 2d plotting except that you use plot3d instead of plot. This answer on SO suggests a way to draw arrows in rgl.

like image 157
Flounderer Avatar answered Oct 13 '22 10:10

Flounderer