How can I plot vertical lines which indicates seasons in a single time series?

1 回表示 (過去 30 日間)
net
net 2013 年 7 月 9 日
Hi, I have wind speed values of 2012. I used timeseries feature and I can plot them. x-axis:time (Date and hour , Cell array format) y-axis:values. And I want to draw vertical lines which indicates summer,fall,winter and spring. How can I plot this four vertical lines on a graph?

採用された回答

Image Analyst
Image Analyst 2013 年 7 月 9 日
Try this:
yl = ylim;
line([xValue, xValue], [yl(1), yl(2)]);
You can also add options like the color of the line and its width.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTime Series についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by