changing the location of num2str
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I am using the following to illustrate the index of the (x,y) location inside a polygon. text(x(i),y(i),num2str(i) With the above code I get the numbers exactly on the (x,y) point. Does someone know how to change that location?
댓글 수: 0
채택된 답변
추가 답변 (1개)
Walter Roberson
2017년 1월 11일
text() offers horizontal and vertical alignment options so that you can say whether the text is to begin at that coordinates or end there or be centered there.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!