Adding hand tool to programmatic GUI

조회 수: 4 (최근 30일)
George Lazaridis
George Lazaridis 2014년 8월 8일
댓글: Image Analyst 2014년 8월 9일
Hello, I am trying to find a way to add the hand tool to my GUI. I didn't create my GUI with GUIDE so i need a way to manually add it. Can anyone help?
Thank you in advance

답변 (1개)

Image Analyst
Image Analyst 2014년 8월 9일
Try this to change the cursor to a hand for your figure:
set(gcf,'Pointer','hand');
Or did you actually mean that you want to add a toolbar button/icon?
  댓글 수: 2
George Lazaridis
George Lazaridis 2014년 8월 9일
thanks for your answer. In the meantime i tried the "pan()" and it seems to work fine :)
Image Analyst
Image Analyst 2014년 8월 9일
Oh, I didn't know from your original post that you wanted to zoom/pan/scroll your image/plot/graph. Well, glad you got it working.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by