patch colours and plot colours
조회 수: 1 (최근 30일)
이전 댓글 표시
I am having an issue using :
patch
and using:
plot
Specifically when using patch:
figure(1)
patch(vert_x,vert_y,'yellow');
But when using plot on a polygon obtained using polyshape, denoted by the variable name object1:
figure(2)
plot(object1,'FaceColor','yellow');
The output is correct, but the yellow obtained from figure 2 is noticeably lighter in color than the yellow which is obtained in patch. I want the colors to look the same. How can I overcome this issue? I have tried RGB colors and this has not fixed the issue.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polygons에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!