How do i remove or disable or hide zoom in zoom out, save, brush tool from Matlab figures ?

20 visualizzazioni (ultimi 30 giorni)
How do i remove zoom in zomm out, save brush tool from matlab figures, because it appear in publishing flies and cannot be removed.

Risposte (2)

Image Analyst
Image Analyst il 30 Mar 2021
Try this:
removeToolbarExplorationButtons(figHandle)
  2 Commenti
GAURAV  BAKHRU
GAURAV BAKHRU il 11 Apr 2021
hey! Sorry i was busy with my college project work. The problem of the icons showing up in the images after publishing the file was from my end only and only on this file. i have published many other files but those icon were not showing up with the image. so i asked my friend to pusblish my file from his pc and it didnt show there so my work was done. It was very annoying. Thank you for your response, i have tried but it doesnt work, those icon are still showing up with images but not on the other files.

Accedi per commentare.


Image Analyst
Image Analyst il 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'

Categorie

Scopri di più su Graphics Object Properties in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by