How does one shade a window area on a time history?
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
更多回答(1 个)
Walter Roberson
2013-1-9
fill() or patch(). You would probably want to set the alpha data of the resulting patch.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!