Figure toolbar disappears when selecting 3-D rotate

1 view (last 30 days)
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?

Answers (0)

Categories

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

Tags

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!