Quantcast
Channel: ASKSAGE: Sage Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 4

Comment by fidbc for Try getting the plot in the Jmol viewer without assigning it to a variable, so justgraphs.DodecahedralGraph().plot3d() Once you have the Jmol viewer right-click the graph and choose 'Style -> Stereographic -> Red+Cyan'. If you are not using the notebook (ie. running Jmol as an application), you can right click the graph again and choose 'File -> Export PNG Image'. If you are using the notebook (ie. running Jmol as an applet), you can click the "Toggle Advanced Controls" buton and then the "Get Static Image to Save (Sleep)" button.This should get you some version of the image you want.Edit: Doing this in the notebook is slightly different, updated answer.

$
0
0
If you are using the sage cell server, then getting the appropriate style can be achieved with 'Advanced -> Style -> Stereographic -> Red+Cyan'. I'm not really sure how to get the png file directly from the jmol viewer in this case (tried using the console but didn't make it work). But there is always the alternative of taking a snapshot of the screen (the way to get it will depend on the OS you are running :)

Viewing all articles
Browse latest Browse all 4

Trending Articles