tabbedFigure(parentFig,tabName,source)
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
引用格式
Luca Amerio (2024). tabbedFigure(parentFig,tabName,source) (https://www.mathworks.com/matlabcentral/fileexchange/55138-tabbedfigure-parentfig-tabname-source), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!