Filling different regions of a figure with different colous/patterns
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Purushottama Rao
le 12 Mai 2015
Commenté : Purushottama Rao
le 12 Mai 2015
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 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Graphics Object Programming dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!