Subplot In A Panle

Version 1.3.0.0 (6.25 KB) by yang
Function to generate a subplot like result in a panle of GUI or in a Figure
308 Downloads
Updated 1 Aug 2013

View License

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.

Example1: SubplotPanel;

Example12:
h=figure;Layout.Subplot=[2,2]; Layout.Figure=[{[1]},{[3]},{[2,4]}];AxesHandel=PlotInPanle(h,Layout);

Cite As

yang (2024). Subplot In A Panle (https://www.mathworks.com/matlabcentral/fileexchange/42674-subplot-in-a-panle), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

Just adjust the file

1.0.0.0