View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Subplot In A Panle

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 6.25 KB File ID: #42674 Version: 1.3
image thumbnail

Subplot In A Panle



18 Jul 2013 (Updated )

Function to generate a subplot like result in a panle of GUI or in a Figure

| Watch this File

File Information

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;

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

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
19 Jul 2013 Jan Simon

Jan Simon (view profile)

Please decide for the correct spelling of "Panel".

Comment only
18 Jul 2013 yang

vary nice

Comment only
01 Aug 2013 1.3

Just adjust the file

Contact us