File Exchange

image thumbnail

fillPage

version 1.0.0.1 (2.86 KB) by

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

4.57143
7 Ratings

17 Downloads

Updated

View License

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.

Comments and Ratings (9)

James Liu

good

Antonio

very Good

ahmed kaffel

didn't work

Kaare

Kaare (view profile)

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

Abbas

Abbas (view profile)

Perfect code for creating PDFs from Matlab plots.

Adam

Adam (view profile)

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

Richard Tantaris

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

Updates

1.0.0.1

Updated license

MATLAB Release
MATLAB 7.5 (R2007b)

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

» Watch video