Coloring the desired specific region bounded by curves drawn using insert button and text using 'gtext'?
조회 수: 2 (최근 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.
댓글 수: 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!