image thumbnail


version (2.7 KB) by Peter Perkins
Stacked line plot for a timetable


Updated 25 Oct 2017

View License

Plot the numeric variables in a timetable against the timetable's time vector. Each variable is plotted as a subplot with its own vertical axis, all aligned to a common time axis. ttplot is for plotting timetables, which require R2016b or later. However, ttplot also works with a table that contains a datetime or duration variable, and so is also useful for R2014b-R2016a.

Cite As

Peter Perkins (2021). ttplot(tt) (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!