tabplot

版本 1.0.0 (1.7 KB) 作者: Dirk-Jan Kroon
TABPLOT Create axes for plotting in tabs (alternative to SUBPLOT)
59.0 次下载
更新时间 2018/12/11

查看许可证

tabplot Create axes in tabs.
This function will add a tabgroup to the current figure (if not existing)
Then it will add a new tab with an axis for plotting (if not existing)

tabplot % Will create a new tab with axis

tabplot(title); % Create a new tab with title

tabplot(index) % Selects a tab from the tabgroup, or create a new tab

tabplot(index,title) % Selects a tab from the tabgroup and set title


Example,

a= linspace(0,2*pi,100);
figure,
tabplot('Sin'), plot(a,sin(a),'r');
tabplot('Tan');
tabplot('Cos'), plot(a,cos(a),'g');
tabplot(2), plot(a,tan(a),'b');

引用格式

Dirk-Jan Kroon (2024). tabplot (https://www.mathworks.com/matlabcentral/fileexchange/69683-tabplot), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Subplots 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0