Adding hand tool to programmatic GUI

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 日

0 投票

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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

質問済み:

2014 年 8 月 8 日

コメント済み:

2014 年 8 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by