Shading specific regions in a plot

조회 수: 4 (최근 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 CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by