Borrar filtros
Borrar filtros

How does one shade a window area on a time history?

6 visualizaciones (últimos 30 días)
Douglas Anderson
Douglas Anderson el 9 de En. de 2013
Hello,
For a presentation, I would like to color shade a given time interval on a time history -- basically a window of the time history that is processed in another figure. This isn't to color only the waveform (though I might just do that instead). This is to color the plot from -ylim to ylim for the given time interval.
Thanks for any help.
Regards
Doug Anderson

Respuesta aceptada

Jan
Jan el 9 de En. de 2013

Más respuestas (1)

Walter Roberson
Walter Roberson el 9 de En. de 2013
fill() or patch(). You would probably want to set the alpha data of the resulting patch.

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