Graphic depiction of timelines

Makes horizontal timeline plot. Timelines can start and stop either once or multiple times.
Updated 7 Feb 2012

View License

Timeline plots are useful for depicting historical data or for project management, among other things.

Timeline.m makes an arbitrary number of horizontal timelines in the current axes. Each timeline is labelled on the y-axis. A given timeline can start and stop either once or multiple times.

The demonstration code in the 'help' section employs Matlab-format times, but timeline.m is not restricted to any particular time format--seconds, minutes, years, etc., can also be used.

Cite As

Kevin Bartlett (2024). Graphic depiction of timelines (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Data Distribution Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes