You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). plot2pdf(NAME) (https://se.mathworks.com/matlabcentral/fileexchange/58685-plot2pdf-name), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.3.0.0 (398 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
