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

Thomas

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Thomas View all
Updated File Comments Rating
25 Nov 2013 savefig Save *cropped* figures to pdf, eps, png, jpeg, and tiff through Ghostscript. Author: Peder Axensten

Byron. To incorporate this feature enter the following on line 225:

"fix_lines([fname '-temp.eps']);"

The program will run fix_lines before converting to other formats.

25 Nov 2013 savefig Save *cropped* figures to pdf, eps, png, jpeg, and tiff through Ghostscript. Author: Peder Axensten

Alex. R. This can be easily fixed by renaming the version of this file as something like "savefig_exchange.m"

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