How do i remove or disable or hide zoom in zoom out, save, brush tool from Matlab figures ?
20 views (last 30 days)
Show older comments
How do i remove zoom in zomm out, save brush tool from matlab figures, because it appear in publishing flies and cannot be removed.
0 Comments
Answers (2)
Image Analyst
on 11 Apr 2021
Try :
ax = gca
ax.Toolbar.Visible = 'off'
Full Demo:
figHandle = figure;
x = 0 : 0.01 : 0.05
y = [0, 60, 105, 130, 138, 30]
plot(x, y, 'b.', 'MarkerSize', 30);
grid on;
fontSize = 18;
xlabel('Thickness of the Plate', 'FontSize', fontSize);
ylabel('Temperature', 'FontSize', fontSize);
%removeToolbarExplorationButtons(figHandle)
ax = gca
ax.Toolbar.Visible = 'off'
0 Comments
See Also
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!