MATLAB Answers

0

Shading specific regions in a plot

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.

  0 件のコメント

サインイン to comment.

タグ

1 件の回答

Image Analyst
Answer by Image Analyst
on 17 Feb 2019
 Accepted Answer

Try the patch() or fill() function.

  1 件のコメント

@Image Analyst. Thank you very much.

サインイン to comment.



Translated by