Skip to content
Prev 369963 / 398503 Next

3D plot with coordinates

On 22/06/2017 3:15 AM, Alaios wrote:
I don't know what you want the display to look like, but if you want it 
to be rotatable, rgl is probably the right package to use.

It doesn't directly support the coordinate system you're using, so you 
need to figure out where you want your points (or line segments) plotted 
in Euclidean coordinates, and write your own function to plot those. 
For example, to plot (r, theta) in polar coordinates in the XY plane, 
use (x = r*cos(theta), y = r*sin(theta), z = 0).

Duncan Murdoch