PGRID | Create a grid of uipanels for plots or GUIs. Merge and split panels to suit your needs.

version 1.0.0.0 (5.37 KB) by Bob Spunt
Easy generation of a grid of UIPANELS for your plotting or GUI building needs.

111 Downloads

Updated 7 Nov 2015

From GitHub

View License on GitHub

PGRID allows easy generation of a grid of UIPANELS in MATLAB for your plotting or GUI building needs. Once you've created a grid, use PMERGE to merge adjacent panels into a single uipanel, and PSPLIT to split a single panel vertically or horizontally. I originally coded this for arranging UICONTROLS in GUIs, but have found that it also works quite well as an alternative to SUBPLOT.
The two auxiliary functions PMERGE and PSPLIT are at present poorly documented and could use more rigorous testing. Please report any issues you have in a comment, thanks!

Cite As

Bob Spunt (2022). PGRID | Create a grid of uipanels for plots or GUIs. Merge and split panels to suit your needs. (https://github.com/spunt/pgrid), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2015a
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!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.