Coloring the desired specific region bounded by curves drawn using insert button and text using 'gtext'?
2 views (last 30 days)
Show older comments
Phenomenal One
on 13 Jul 2019
Commented: Image Analyst
on 15 Jul 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.
0 Comments
Accepted Answer
Image Analyst
on 13 Jul 2019
Try fill() or patch().
2 Comments
Image Analyst
on 15 Jul 2019
If you have vectors giving the x and y locations, then that's all you need.
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!