Re: [R] 3d polar coordinates in rgl function view3d()

2012-10-08 Thread Duncan Murdoch
On 12-10-08 7:12 PM, Peter Rossi wrote: Dear all: I'm enjoying using rgl and I want to set a specific viewpoint. I understand that view3d() will do so by setting the 3d polar coordinate angles, theta and phi. That's incorrect, see below. In standard polar coordinates, theta is the angle aw

[R] 3d polar coordinates in rgl function view3d()

2012-10-08 Thread Peter Rossi
Dear all: I'm enjoying using rgl and I want to set a specific viewpoint. I understand that view3d() will do so by setting the 3d polar coordinate angles, theta and phi. In standard polar coordinates, theta is the angle away from the X axis in the X-Y plane and phi (inclination angle) is the ang