Rank: 17803 based on downloads (last 30 days) and 0 files submitted
photo

Balaji Ganeshan

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Balaji
Updated File Comments Rating
11 Feb 2009 print_pdf Save figures to high quality pdfs with cropped borders and embedded fonts. Author: Oliver Woodford

On the whole this is an excellent post.

But I am having a problem using this file for guide generated figures. I have a push button within my gui to generate a pdf - however I receive an error as follows:

??? Error using ==> print at 310
What follows -f is not a Figure handle.

Error in ==> print_pdf at 48
print('-depsc2', '-noui', '-painters', ['-f' num2str(fig)], '-r864', tmp_nam);

Any help will be much appreciated.

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com