[R] Defining origin for rotation in RGL device

Mark Heckmann mark.heckmann at gmx.de
Mon Apr 25 11:46:56 CEST 2011


Hi all,

How can I tell RGL to set the center for the rotation to the origin of  the coordinate system (0,0,0).
It seems that the default is to use the center of the display not the origin of the coordinate system.

open3d()
lines3d(c(0, 1), c(0,0), c(0,0))
lines3d(c(0,0), c(0, 1), c(0,0))
lines3d(c(0,0), c(0,0), c(0, 1))

TIA
Mark

–––––––––––––––––––––––––––––––––––––––
Mark Heckmann
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com



More information about the R-help mailing list