File Exchange

image thumbnail


version 1.0.0 (1.66 KB) by Dirk-Jan Kroon
TABPLOT Create axes for plotting in tabs (alternative to SUBPLOT)


Updated 11 Dec 2018

View License

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


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

Cite As

Dirk-Jan Kroon (2020). tabplot (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux