Shading specific regions in a plot

4 Ansichten (letzte 30 Tage)
Hari krishnan
Hari krishnan am 17 Feb. 2019
Kommentiert: Hari krishnan am 20 Feb. 2019
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 17 Feb. 2019
Try the patch() or fill() function.

Weitere Antworten (0)

Kategorien

Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by