Rank: 165816 based on 0 downloads (last 30 days) and 0 file submitted
photo

Thomas

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Thomas
Updated File Comments Rating
30 Oct 2011 savefig Save *cropped* figures to pdf, eps, png, jpeg, and tiff through Ghostscript. Author: Peder Axensten

Phenomenal effort here!! I had been trying to figure out how to do this for months.

One bug that I had to fix:
I am running Mac OS X V10.6.8. In the code, the "Switch computer" (Line 205) was reading MACI64. I had to change the the resulting case to include this option. Specifically, I appended Line 206 to read: "case {'MAC','MACI64'}, gs= '/usr/local/bin/gs';".

Otherwise, things work like a charm.

Possible improvements: figure size control.

Contact us