Function generate_timeline

Generate a timeline plot with intervals.

Draws horizontal timeline in the current axes. The name of each track appears as a label on the y-axis. Each element of the starts and ends cell arrays is itself an array, so each track can start and stop either once or many times.

Credit: Kevin Bartlett (kpb@uvic.ca), 2012

Input:

adjacent timelines the specified fraction of the line widths apart.

Output: