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!