Disable impoly interactive behavior
조회 수: 1 (최근 30일)
이전 댓글 표시
Is there a way I can disable and enable the interactive behavior of an impoly object programmatically? Specifically, I want to not allow users to move it under certain circumstances. I guess I could use the position callback to move the object back from where it came from but that's a bit inelegant.
Any ideas?
TIA,
Dan
댓글 수: 0
채택된 답변
Image Analyst
2014년 2월 13일
Use impoly() if you want users to interact. Use plot() if you want to put a polygon but don't want the users to interact with it.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!