savefig 1.0

Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : Freeware
CreatedCreated : Oct 5, 2007
Size downloadDownloads : 3
Program licensing
Thank you for voting...

Usage: savefig(filename, fighandle, options) <br ...

Usage: savefig by Peder Axensten(filename, fighandle, options)
Saves a pdf, eps, png, jpeg, and/or tiff of the contents of the fighandle's (or current) figure.
It saves an eps of the figure and the uses ghostscript to convert to the other formats.
The result is a cropped, clean picture. There are options for using rgb or cmyk colours,
or grayscale. You can also choose the resolution.
The advantage of savefig 1.0 is that there is very little empty space around the figure in the
resulting files, you can export to more than one format at once, and Ghostscript generates
trouble-free files.
If you find any errors, please let me know! (peder at axensten dot se)
filename: File name without suffix.
fighandle: (default: gcf) Integer handle to figure.
options: (default: '-r300', '-soft', '-rgb') You can define your own defaults in a global variable savefig [savefig1.0.exe]_defaults, if you want to, i. e. savefig - 0MB_defaults= {'-r200', '-gray'}; .
'eps': output in Encapsulated Post Script (no preview yet).
'pdf': Output in (Adobe) Portable Document Format.
'png': Output in Portable Network Graphics.
'jpeg': Output in Joint Photographic Experts Group format.
'tiff': Output in Tagged Image File Format (no compression: huge files!).
'-rgb': Output in rgb colours.
'-cmyk': Output in cmyk colours (not yet 'eps', 'png', and 'jpeg' -- '-rgb' is used).
'-gray': Output in grayscale (not yet 'pdf' and 'eps' -- '-rgb' is used).
'-r': Set resolution.
'-soft': Enables anti-aliasing on pixel graphics (on by default).
'-hard': No anti-aliasing on pixel graphics (saves bytes).
'-crop': Removes points and line segments outside the viewing area -- permanently. Only use this on figures where many points and/or line segments are outside the area zoomed in to. This option will result in smaller vector files (has no effect on pixel files).
'-dbg': Displays gs command line(s).
savefig 1.0('nicefig', 'pdf', 'jpeg', '-cmyk', '-r250');
Saves the current figure to nicefig. pdf and nicefig. png, both in cmyk and at 250 dpi.
REQUIREMENT: Ghostscript. Version 8. 51 works, probably older versions too, but '-dEPSCrop' must be supported. I think version 7. 32 or newer is ok.
matlab Release: R13SP1
• Ghostscript

savefig 1.0 scripting tags: figure, save fig, matlab, cmyk, savefig, pdf, ghostscript, matlab savefig, files, development tools, output, rgb. What is new in savefig 1.0 software script? - Unable to find savefig 1.0 news. What is improvements are expecting? Newly-made savefig 1.1 will be downloaded from here. You may download directly. Please write the reviews of the savefig. License limitations are unspecified.