rotate3d in GUI

4 views (last 30 days)
M
M on 30 Mar 2012
Hi,
I made an gui with axes where I display data with surf. To see this surf plot from different views I use rotate3d function.
What I want to ask is this, is there a way to remove or change the context menu which I get when I click with the right button of my mouse like in the zoom function?
Thanks in advance for the answers.

Accepted Answer

Hannu K
Hannu K on 30 Mar 2012
Yes it is possible.
Just make a uicontext menu like in the example here: http://www.mathworks.se/help/techdoc/ref/uicontextmenu.html
And then set it as the 'UIcontextmenu' property value in your rotate3d handle.
  1 Comment
M
M on 30 Mar 2012
thanks, it worked well =)

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!