figure2pdf

FIGURE2PDF exports the current MATLAB figure to a PDF file.

You are now following this Submission

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 (2026). figure2pdf (https://www.mathworks.com/matlabcentral/fileexchange/71053-figure2pdf), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Printing and Saving in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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.

1.0.0