How to create a patch object without actually plotting it.
조회 수: 14 (최근 30일)
이전 댓글 표시
Hello everyone!
I have some data, say [X,Y,Z] and when I use the Patch command it creates a figure and gives me a shape.
I would like to supress the actual figure, and make the code display it later on.
My two problems are: 1) How do I supress the plotting of the patch? 2) How do I display a patch object in a new figure?
Thanks in advance!
댓글 수: 0
채택된 답변
pfb
2015년 5월 1일
h=patch(X,Y,Z,'r','visible','off');
and then, when you need it
set(h,'visible','on');
추가 답변 (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!