File Exchange

image thumbnail

Crop and save MatLAB figure as PDF (savePDF)

version 1.0.0 (1.17 KB) by Dr. Erol Kalkan, P.E.
This simple function nicely crop the figure and save it as PDF

13 Downloads

Updated 21 Feb 2019

View License

savePDF is a simple function, nicely crop the MatLAB figure and save it as PDF to a designated directory. If the directory doesn't exist, it creates one.

plot_name = name of the figure (e.g., 'My_Figure')
plot_path = folder to be saved as PDF (e.g., './My_Folder')

Cite As

Dr. Erol Kalkan, P.E. (2019). Crop and save MatLAB figure as PDF (savePDF) (https://www.mathworks.com/matlabcentral/fileexchange/70349-crop-and-save-matlab-figure-as-pdf-savepdf), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux