tabplot
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');
Cite As
Dirk-Jan Kroon (2024). tabplot (https://www.mathworks.com/matlabcentral/fileexchange/69683-tabplot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Combine Multiple Plots > Subplots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |