plot2pdf(NAME)

Simple function that save current figure as a pdf preserving size and margins
71 Downloads
Updated 12 Aug 2016

View License

Simple function that save current figure as a pdf preserving size and margins.
Prints the pdf exactly as it's shown onscreen
Example:
plot ([1 2 3 4])
plot2pdf('testplot')
a pdf file named testplot.pdf should appear in the current path

Cite As

Benjamin Garcia (2025). plot2pdf(NAME) (https://se.mathworks.com/matlabcentral/fileexchange/58685-plot2pdf-name), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.0

.

1.2.0.0

.

1.1.0.0

.

1.0.0.0