File Exchange

image thumbnail

Automate Print Settings when Printing Multiple Figures

version (1.59 KB) by Lukas Hoffmann
Print many figures using the same printing settings, instead of manually selecting them each time.

1 Download

Updated 27 Nov 2010

View License

Normally you print figures with default settings. If you want to change print settings for a figure you go to Print Preview and set it to "Landscape", "Color", "Margins 1 inch" or something like that.

What happens when you have to print dozens of similar figures? You might have 30 graphs that you'd like to be printed in a certain way. You have to set, say, "Landscape", "Margins 1 inch" for each one of them individually. Tedium ensues.

This file fixes that problem. It is fully commented.

You pick your desired printing settings once. Then the code will loop to print each figure using those settings. Your figures are created in a function that you write, and they are all printed using the same non-default print settings you picked the first time.

Cite As

Lukas Hoffmann (2021). Automate Print Settings when Printing Multiple Figures (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!