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.
works great on windows, but seems to have no effect on linux?
Perfect code for creating PDFs from Matlab plots.
This function (unfortunately) doesn't produce good output for subplots with outside legends.
Awesome! I've been looking for this for years.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.