How to keep aspect ratio fixed, when rotating 3D objects in GUI?
이전 댓글 표시
I know that you can fix the aspect ration by right clicking on the axes and choosing: Rotate Options > Fixed Aspect Ratio Axes. But I'd like my GUI to do this automatically without every time manually specifying that? Is there a way to problematically achieve this? (ex.: including a command in the opening function)
thanks
채택된 답변
추가 답변 (4개)
Sean de Wolski
2012년 6월 19일
0 개 추천
댓글 수: 2
Walter Roberson
2012년 6월 19일
Sean, you had "DaraAspectRatioMode" . How old did you say your kids were? ;-)
Sean de Wolski
2012년 6월 19일
The dogs are 9 and 12, but we adopted them late!
hana
2012년 6월 19일
0 개 추천
댓글 수: 1
Sean de Wolski
2012년 6월 19일
hmmm, so you have something like:
set(handles.axes1,'dataaspectratiomode','manual');
set(handles.axes1,'dataaspectratio',[1 1 1]);
and it still comes undone?
카테고리
도움말 센터 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!