Toolbar of Plot hiding after loading file

8 visualizaciones (últimos 30 días)
Roman Huber
Roman Huber el 5 de Mayo de 2022
Respondida: Cameron B el 9 de Mayo de 2022
Hey guys,
if have an issue. The toolbar within the plot in my GUI is hiding after loading data to the plot. Anybody an idea what's the issue about this?
Appreciate your help!
Roman
  1 comentario
Monica Roberts
Monica Roberts el 5 de Mayo de 2022
Can you provide an example or image or video? Is it possible that you're seeing the new-ish axes toolbar? The toolbar (with zoom, pan, etc) shows up in the axes, and if you hover your mouse over the axes it reappears.

Iniciar sesión para comentar.

Respuestas (1)

Cameron B
Cameron B el 9 de Mayo de 2022
I've had this same issue in app designer as well. What I have done to get around is to simply tell the UIAxes to put another one there.
function InsertFileButtonPushed(app, event)
%insert all your data here and plot it in app.UIAxes
axtoolbar(app.UIAxes,{'export','brush','pan','zoomin','zoomout','restoreview'});
end
You can put whatever values you want in your axtoolbar, but this is how I managed to get around the disappearing toolbar.

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by