printsave
Version 1.0.0.0 (2.35 KB) by
Romain Nguyen van yen
Prints and saves MATLAB figures simultaneously
printsave(basename) saves the current figure to basename.fig,
and prints it to basename.eps.
In addition, epstopdf is called to generate basename.pdf.
If the figure contains graphical element whose type is 'image',
the PNG format is used when first printing, and the ImageMagick
tool 'mogrify' is then called to convert the file to eps and pdf.
printsave(f,basename) uses f as figure handle instead of gcf.
Cite As
Romain Nguyen van yen (2026). printsave (https://www.mathworks.com/matlabcentral/fileexchange/30524-printsave), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Printing and Saving in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
