Rank: 903 based on 108 downloads (last 30 days) and 2 files submitted
photo

Gabe Hoffmann

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Gabe View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
15 Jan 2008 save2pdf Saves a figure as a PDF as it appears on the screen. Author: Gabe Hoffmann figure save pdf file, graphics import, graphics export 96 7
  • 4.83333
4.8 | 6 ratings
02 Sep 2007 pix2anigif Combines sequence of numbered pictures into an animated GIF. Author: Gabe Hoffmann animated gif, stitch, animation, movie, frames, graphics import 12 5
  • 3.0
3.0 | 5 ratings
Comments and Ratings on Gabe's Files View all
Updated File Comment by Comments Rating
02 Mar 2010 save2pdf Saves a figure as a PDF as it appears on the screen. Author: Gabe Hoffmann Spee, Koos

I have got one question regarding dimensions of the saved file.

When I set figure position / size with:
set(gcf, 'Position', [400 400 600 100])
and then apply:
save2pdf('foo.pdf');

The dimensions of the image will be 450x75

Same with other values of width & height... al get resized to 75%

Does anybody know why this happens?

09 Oct 2009 save2pdf Saves a figure as a PDF as it appears on the screen. Author: Gabe Hoffmann Dalchau, Neil

Great function, provided perfect solution first time around!
Many thanks

20 Oct 2008 save2pdf Saves a figure as a PDF as it appears on the screen. Author: Gabe Hoffmann Stephens, Richard

Excellent. Just what I was looking for.

30 Aug 2008 save2pdf Saves a figure as a PDF as it appears on the screen. Author: Gabe Hoffmann S, A

Works good and helps a lot with mass-pdf-graph-generation ... pdf2ps in linux doesn't generate vectorized .ps from these pdfs, but that's not Gabe's fault.

13 Jul 2008 pix2anigif Combines sequence of numbered pictures into an animated GIF. Author: Gabe Hoffmann Laurent, Arnaud

Sounds like a great idea but unfortunately I can't make it work with any type of image file, I always get the same errot:

Error using ==> imwrite at 363
Invalid colormap

Error in ==> pix2anigif at 80
        imwrite(icdata,imap,[outputFileRoot,'.gif'],'gif',...

Top Tags Applied by Gabe
graphics export, graphics import, animated gif, figure save pdf file, frames
Files Tagged by Gabe View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
15 Jan 2008 save2pdf Saves a figure as a PDF as it appears on the screen. Author: Gabe Hoffmann figure save pdf file, graphics import, graphics export 96 7
  • 4.83333
4.8 | 6 ratings
02 Sep 2007 pix2anigif Combines sequence of numbered pictures into an animated GIF. Author: Gabe Hoffmann animated gif, stitch, animation, movie, frames, graphics import 12 5
  • 3.0
3.0 | 5 ratings
 

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