Sorry, this content is no longer available

Ask Your Question
1

Save 3d plot to an image

asked 11 years ago

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!)

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

ppurka gravatar image

updated 11 years ago

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.
Preview: (hide)
link

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: 11 years ago

Seen: 1,516 times

Last updated: Jul 19 '13