Add Certain dates as Bars on the Time series graph

Hi All, I have a plot that has dates on X-axis and data on Y-axis. I want to put a straight line or a bar for certain dates. I have a list of all those dates. Is there a way to plot these dates on the same graph?
Thank you for the help. NK

Answers (1)

You could use the text feature. Either do it programatically (probably preferred) or manually in the figure editor.

Categories

Asked:

on 16 Jan 2014

Answered:

on 17 Jan 2014

Community Treasure Hunt

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

Start Hunting!