How does one shade a window area on a time history?
조회 수: 6 (최근 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에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!