image thumbnail

tabbedFigure(parent​Fig,tabName,source)

version 1.1.0.0 (6.08 KB) by Luca Amerio
Creates a new tabbed figure window or adds a new tab to an existing one.

163 Downloads

Updated 20 Oct 2017

View License

TABBEDFIGURE creates a new tabbed figure window or adds a new tab to an existing
one.
AX = TABBEDFIGURE(H,TABNAME) creates new axes in a tab with title 'TabName'
inside the figure H and returns its handle.
If TABNAME is a character cell-array of length N, N new tabs are
created, each with name TABNAME{i}
[AX,TAB] = TABBEDFIGURE(_) returns both the handle of the axes and the
parent tab.
Right-clicking on a tab's label or anywhere inside, it's possible to:
* RENAME current tab
* CLOSE current tab
* COPY current tab to a new standalone figure (The tab name is
setted both as name and tag of the new figure)
* COPY ALL TABS to new standalone figures (The tab name of each tab is
setted both as name and tag of each new figure)
* SAVE current tab as a standalone figure in a .fig file
* SAVE ALL TABS as standalone figures in .fig files
Example:
f=figure;
ax=tabbedFigure(f,'test);
plot(1:10,randn(1,10));
By Luca Amerio
luca.amerio@polimi.it
28/01/2016

Cite As

Luca Amerio (2022). tabbedFigure(parentFig,tabName,source) (https://www.mathworks.com/matlabcentral/fileexchange/55138-tabbedfigure-parentfig-tabname-source), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
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!