MATLAB Answers

A
0

how to enable rotate3d for guide axes?

Asked by A
on 17 Dec 2012
how do I rotate 3d a graph drawn in axes pane in a GUIDE figure?

  0 Comments

Sign in to comment.

Tags

1 Answer

Matt Fig 님의 답변 17 Dec 2012

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

  2 Comments

A 17 Dec 2012
the thing is, I also have a datacursor on; so user needs to be able to toggle datacursor and rotate3d
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

Sign in to comment.