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.
JaeHyeok Park (2021). gridfig (https://www.mathworks.com/matlabcentral/fileexchange/60560-gridfig), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!