File Exchange

image thumbnail


version 1.4 (561 KB) by JaeHyeok Park
grid alignment of figure


Updated 04 Dec 2016

View License

This function aligns MATLAB figures horizonally or vertically from topleft of main monitor. If monitor space is not enough, plot in half size. If half is not enough, throw error. Simple is the best.
gridfig -> vertical alignment
gridfig ver -> vertical alignment
gridfig hor -> horizontal alignment
gridfig default -> revert alignment and stack figures (MATLAB default)
Currently only work on main monitor. In the future version, monitor selection function for multiple monitor will be included.

Cite As

JaeHyeok Park (2020). gridfig (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Hyung Suk Kim



Now the earlier plots have alignment priority than others.

minor mistake fix

Alignment revert to default setting is added (Usage : gridfig default)

if monitor space is not enough, draw in half size

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags