Coloring the desired specific region bounded by curves drawn using insert button and text using 'gtext'?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Image Analyst
2019 年 7 月 13 日
Try fill() or patch().
2 件のコメント
Image Analyst
2019 年 7 月 15 日
If you have vectors giving the x and y locations, then that's all you need.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Labels and Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!