No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Print Graphics to a File

3.5 | 4 ratings Rate this file 5 Downloads (last 30 days) File Size: 51.3 KB File ID: #2484 Version: 1.0
image thumbnail

Print Graphics to a File



A GUI for printing figures to a file using EPS, JPEG or PNG format.

| Watch this File

File Information

PTF supports printing MATLAB graphics to a file while the following properties can be set to a desired value:
file format & name,
figure width/height,
font name/size/style,
line size.

PTF -GUI starts a GUI in order to simplify the process of choosing the right properties and executing the print command.

PTF.M is based on EXPORTFIG.M by Ben Hinkle from The MathWorks.


This file inspired Pattern Generator For Matlab.

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
30 Nov 2010 Matthew

Even the parent functions (exportfig.m) do not work. How this got vetted and updated and yet nothing actually works is beyond me. I get the same error re: the gcf handle. I suspect this is a matlab version issue.

02 Oct 2007 Prasad Parkhi

But some times I get following remarks--
??? Error using ==> ptf>LocalExportFig
Error using ==> get
Invalid handle.

Error in ==> ptf at 261

18 Jul 2005 Gerard Ridgway

Seems to be based on the first version of exportfig -- Ben Hinkle updated this, adding a few useful features. See:

05 Mar 2003 Bipin Satavalekar

Contact us