Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Interactive viewers for 3d plots?

I've been spending much of today trying to create 3D plots. I find that the default viewer (jmol) works fine. I can't get java3d to work (and yes, I gave the java 3d libraries): in a console it does nothing; in a browser I get a still image, but "Click for interactive view" causes the browser to crash (firefox, chrome, midori, all under linux). Canvas3d does give me an interactive view, but some of the plot elements are missing. I have a surface, plane, curve, line, etc all plotted with something like

(S+P+C+L).show(viewer='canvas3d')

however for some reason the curve and line are missing. Maybe canvas3d doesn't like 2d elements...? So far only jmol has given me full interactivity of the entire plot. But I can't get it to export to an image file properly.

Is there any magic by which I can get java3d and canvas3d to work?