Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

With SageMath 8.1, the following works for me (i.e. the png figure has the same orientation as that displayed in the Jmol window):

sage: G = cube()
sage: G.rotate([1,0,0], pi/4).show(aspect_ratio=[1,1,1], orientation=(0,0,0,0), frame=False)
Launched jmol viewer for Graphics3d Object
sage: G.rotate([1,0,0], pi/4).save("MyImage.png", aspect_ratio=[1,1,1], orientation=(0,0,0,0), frame=False)