Shading specific regions in a plot

3 ビュー (過去 30 日間)
Hari krishnan
Hari krishnan 2019 年 2 月 17 日
コメント済み: Hari krishnan 2019 年 2 月 20 日
Hi, I have a plot as attached in the picture. I would like to shade a specific portion of the plot and add labels to it. For eg: I have to shade the regions from time 30 to 50 minutes only for the green-line(Good workshop). I tried using 'ShadedtimeSeries' function, but it makes the shading for all the values of all the individual lines in the plot. Any help to solve this will be appreciated.

採用された回答

Image Analyst
Image Analyst 2019 年 2 月 17 日
Try the patch() or fill() function.
  1 件のコメント
Hari krishnan
Hari krishnan 2019 年 2 月 20 日
@Image Analyst. Thank you very much.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by