Filling different regions of a figure with different colous/patterns
2 次查看(过去 30 天)
显示 更早的评论
Hello! I have a figure plotted between say y=sin(x) and (x) where x=0:pi/18:2*pi. I would like create 3 regions as defined blow, on the figure and fill with differet colurs or patterns.
Region1:y<-0.5 Region2:-0.5<=y<=0.5 Region3:y>0.5
How to do it in matlab?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Programming 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!