App designer, uiaxes options keep automatically resetting to manual

조회 수: 5 (최근 30일)
Jose Blasques
Jose Blasques 2018년 2월 26일
댓글: Kevin Holly 2022년 2월 2일
Hi,
In app designer, I am using the plot command to plot data. I set all the uiaxes options which allow for it to 'auto' (e.g., XLimMode, YLimMode, etc.). I do this in the axes properties in the app designer menu. I do this because otherwise the axes positions and size keep being updated every time I change the set of data that is being plotted.
The problem is that Matlab for some reason sets them back to manual after a while and so I have to go and set them back to auto.
Can someone help?
Thanks, José
  댓글 수: 2
Oscar Hernández
Oscar Hernández 2022년 2월 2일
did you solve it? I’ve got the same problem.
Kevin Holly
Kevin Holly 2022년 2월 2일
This was an issue in 17b and 18a caused by a network issue.
One workaround could be to programmatically add these lines within the app.
app.UIAxes.XTickMode = 'auto';
app.UIAxes.YTickMode = 'auto';

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by