how to enable rotate3d for guide axes?

Antworten (1)

Matt Fig
Matt Fig am 17 Dez. 2012

0 Stimmen

Use the command:
rotated3d on
After the code that plots the surf.

2 Kommentare

A
A am 17 Dez. 2012
the thing is, I also have a datacursor on; so user needs to be able to toggle datacursor and rotate3d
Walter Roberson
Walter Roberson am 17 Dez. 2012
Use a keypressfcn callback to detect the user pressing a keyboard key to request toggling between them.
Note: if you do this, you will probably have to zap a listener. See http://www.mathworks.com/matlabcentral/answers/2005-windowkeypressfcn-and-datacursormode-on

Melden Sie sich an, um zu kommentieren.

Kategorien

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

Tags

Gefragt:

A
A
am 17 Dez. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by