image thumbnail

Set Figure to Screen

version (2.65 KB) by Robert M. Flight
Useful for defining default figure locations on multiple monitors


Updated 20 May 2009

View License

Like to use multiple monitors? Don't like Matlab default figure behavior for multiple monitors? This function allows one to define which monitor figures will be drawn on by default. It also allows one to set the default position based on monitor, or a previously drawn figure. This means you can even set the default position to fill an entire monitor!

Where 'a' is numeric, either a monitor number (1, 2, 3, 4) or a figure handle.
Where opt is a string, either 'mon' to use a monitor, or 'fig' to
use a figure handle. a should be either a monitor number (if using 'mon') or a figure handle (if using 'fig').

Cite As

Robert M. Flight (2022). Set Figure to Screen (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
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!