The 'subplot.m' is a useful function for plot multi-axes in one figure. However, it is unavailable in GUI development.
So, I developed a function to generate a subplot like result in a panle of GUI or in a Figure.
The core function is 'PlotInPanle.m' functionm, where the first input is the handle of a panel uicontrol or a figure, and the second input is layout of each subfigure. The output of 'PlotInPanle.m' is handle of each axes.
A GUI named 'SubplotPanel.fig' was complied based on PlotInPanle.m to illustrate its function.
Just adjust the file
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.