필터 지우기
필터 지우기

Toolbar of Plot hiding after loading file

조회 수: 3 (최근 30일)
Roman Huber
Roman Huber 2022년 5월 5일
답변: Cameron B 2022년 5월 9일
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
Monica Roberts
Monica Roberts 2022년 5월 5일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Cameron B
Cameron B 2022년 5월 9일
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.

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by