how to enable rotate3d for guide axes?

조회 수: 3 (최근 30일)
A
A 2012년 12월 17일
how do I rotate 3d a graph drawn in axes pane in a GUIDE figure?

답변 (1개)

Matt Fig
Matt Fig 2012년 12월 17일
Use the command:
rotated3d on
After the code that plots the surf.
  댓글 수: 2
A
A 2012년 12월 17일
the thing is, I also have a datacursor on; so user needs to be able to toggle datacursor and rotate3d
Walter Roberson
Walter Roberson 2012년 12월 17일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by