Figure toolbar disappears when selecting 3-D rotate

4 ビュー (過去 30 日間)
Luca Amerio
Luca Amerio 2019 年 6 月 18 日
The following code produces a figure without the standard toolbar, but leaving the new "axes" toolbar with the zoom, rotate, datatip and brush tools.
hfig = figure();
delete(findall(hfig,'Type','uitoolbar'));
axes()
[x,y,z] = peaks(25);
surf(x,y,z)
This works perfectly fine with most tools, except "Rotate 3-D". When I select "Rotate 3-D" the toolbar disappears and there's no way (at least, that I found) to disable the Rotate3D tool and bring back the toolbar.
What's even more "funny" is that you don't even need that tool, as dragging inside the axes will already perform a 3d rotation without triggering the problem.
Why this happens? Is there a way to prevent the toolbar from disappearing? And if there is not, there is a way to disable the "Rotate 3D" tool, leaving the others?

回答 (0 件)

カテゴリ

Find more on Graphics Object Properties in Help Center and File Exchange

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by