saveaspub(h, name, format)

Save Matlab plots and figures for publication as pdf or eps vector formats.
40 Downloads
Updated 15 Sep 2016

View License

This is a functionally similar to Matlab "saveas" command and saves plots and figures as pdf or eps formats such that the saved file matches the proportions and margins as displayed on screen.
PDF and EPS formats allow the images to be saved in vector formats thus allowing them to be scaled to any sizes and are therefore preferred when used for publications. This is specially useful if Latex or its variants are being used as the document preparation system.

Cite As

Udit Gupta (2024). saveaspub(h, name, format) (https://www.mathworks.com/matlabcentral/fileexchange/59160-saveaspub-h-name-format), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Printing and Saving in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Minor fix.