R: 3d graphics

From MathWiki

Printing an rgl 3d graph

If you have a 3d plot using rgl (e.g. with scatter3d), you can print the plot to a .png file with

> rgl.snapshot("graph3d.png")

where "graph3d.png" is the name of the file in which the plot will be save.

You can then include the plot in a work file by using "Insert | Picture | From file | ...

ncdf package

Explore this package to discover its facilities for manipulating 3d objects.