Ask Your Question
1

Save 3d plot to an image

asked 2013-07-19 00:30:53 +0100

Alasdair gravatar image

With a Jmol-produced 3d plot, saving to an image results in different output to that which is displayed on the screen.

I have

G.show(aspect_ratio=1)

and that looks lovely, but

G.save('tmp.png',aspect_ratio=1)

produces something quite different, I suspect because G.show() uses Jmol, and G.save() uses Tachyon. The "export" menu item of Jmol doesn't seem to produce very good results either, as the image is not properly centered on the page, and sometimes is even clipped. Any ideas how I can go from my Jmol image to a nice image file? (Other than taking a screenshot!)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-07-19 02:54:14 +0100

ppurka gravatar image

updated 2013-07-19 02:54:36 +0100

You can get the static image by the following

  1. Click on "Make interactive"
  2. Rotate and align the image as you want
  3. Click on "Toggle advanced controls"
  4. Click on "Get static image ..." button
  5. Right click on image and save it.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-07-19 00:30:53 +0100

Seen: 1,495 times

Last updated: Jul 19 '13