App designer, uiaxes options keep automatically resetting to manual
5 views (last 30 days)
Show older comments
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 Comments
Kevin Holly
on 2 Feb 2022
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';
Answers (0)
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!