Shading specific regions in a plot

2 visualizaciones (últimos 30 días)
Hari krishnan
Hari krishnan el 17 de Feb. de 2019
Comentada: Hari krishnan el 20 de Feb. de 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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by