フィルターのクリア

Rotate 3d with multiple figures bug

6 ビュー (過去 30 日間)
D G
D G 2012 年 6 月 27 日
編集済み: Sven van Berkel 2014 年 2 月 6 日
Hi!
I have a GUI with several axes on screen. Two of them display logo images and one displays a 3d preview of a certain scenario. The preview can be rotated using the mouse. Whenever the preview is clicked on, all three of the axes become rotatable. This severely slows down the rotation.
We are already passing the handle to the rotate3d function (i.e. rotate3d(handle, 'on')).
How can this be prevented?
Thanks!

回答 (1 件)

Sven van Berkel
Sven van Berkel 2014 年 2 月 6 日
編集済み: Sven van Berkel 2014 年 2 月 6 日
I had the same problem before. The post is somewhat old, but I'll post anyway the solution for the case somebody else will encounter the problem.
h = rotate3d;
set(h,'Enable','on');
ax1 = subplot(1,2,1);
ax2 = subplot(1,2,2);
setAllowAxesRotate(h,ax1,true);
setAllowAxesRotate(h,ax2,false);
Working in this way resolved this problem in my case!

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by