rotate3d in GUI

4 Ansichten (letzte 30 Tage)
M
M am 30 Mär. 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.

Akzeptierte Antwort

Hannu K
Hannu K am 30 Mär. 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 Kommentar
M
M am 30 Mär. 2012
thanks, it worked well =)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by