Filling different regions of a figure with different colous/patterns

1 回表示 (過去 30 日間)
Purushottama Rao
Purushottama Rao 2015 年 5 月 12 日
コメント済み: Purushottama Rao 2015 年 5 月 12 日
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?

採用された回答

Walter Roberson
Walter Roberson 2015 年 5 月 12 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by