File Exchange

image thumbnail

figure2pdf

FIGURE2PDF exports the current MATLAB figure to a PDF file.

31 Downloads

Updated 10 Jul 2020

View License

FIGURE2PDF exports the current MATLAB figure to a PDF file.

This function is useful for preparing high-quality graphic files for research papers.

Cite As

Ildeberto de los Santos Ruiz (2020). figure2pdf (https://www.mathworks.com/matlabcentral/fileexchange/71053-figure2pdf), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Very good program!

Vijay Anand

Nice One!!!

Hi, you may wish to add '-painters' at line 43: print(f,filename,'-painters','-dpdf','-r0'), for saving the PDF in vector format.

Updates

1.1

Help information added.

1.0.3

Added '-painters' to save PDF in vector format. Thanks to Jaime Martins for the suggestion.

1.0.2

Minor bugs were fixed.

1.0.1

Now the function can be called without arguments, because it assigns a file name by default. It is also possible to open the PDF file at the end.

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