Code covered by the BSD License  

Highlights from


4.4 | 5 ratings Rate this file 28 Downloads (last 30 days) File Size: 2.86 KB File ID: #16566




25 Sep 2007 (Updated )

Quickly set figure properties so printed/exported figure will fill entire page.

| Watch this File

File Information

fillPage allows you to easily adjust properties that affect the size and position of a figure to be printed/exported, so that the generated output will "fill" the page within specified (or default) margins.

fillPage returns the original property values in a structure, allowing them to be restored/reset after printing.

fillPage also allows you to optionally specify a margin to use, as well as the size/type of paper (A4, usletter, 12x15) to output to.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
03 Jan 2014 ahmed kaffel

didn't work

16 Feb 2012 Kaare

works great on windows, but seems to have no effect on linux?

08 Feb 2012 Reza Farrahi Moghaddam  
06 Feb 2012 Abbas

Perfect code for creating PDFs from Matlab plots.

25 Jun 2010 Adam

This function (unfortunately) doesn't produce good output for subplots with outside legends.

06 Dec 2007 Richard Tantaris

Awesome! I've been looking for this for years.

Contact us