Coloring the desired specific region bounded by curves drawn using insert button and text using 'gtext'?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Phenomenal One
il 13 Lug 2019
Commentato: Image Analyst
il 15 Lug 2019
I am trying to color the region 'A' in the figure using MATLAB. I have drawn the fours straightlines using the insert command button in the figure window of MATLAB.
I have seen fill , shade command but seems like they work when I give the explicit equations to the straightlines/ curves.
Any way to color the region A in the figure which is bounded by the four straightliunes.![parallelogram.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/229649/parallelogram.jpeg)
![parallelogram.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/229649/parallelogram.jpeg)
0 Commenti
Risposta accettata
Image Analyst
il 13 Lug 2019
Try fill() or patch().
2 Commenti
Image Analyst
il 15 Lug 2019
If you have vectors giving the x and y locations, then that's all you need.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Labels and Annotations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!