MATLAB Answers

Figure toolbar disappears when selecting 3-D rotate

2 views (last 30 days)
Luca Amerio
Luca Amerio on 18 Jun 2019
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 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.

Tags

Products


Release

R2018b

Translated by