Issue with slanted y-axis ticks when using UIAxes component in app designer.
Show older comments
Hi,
I'm attempting to create a MATLAB app that displays a 2D plot but I'm intermittently having issues with the Y-axis tick when inserting a UIAxes plot.

It only seems to happen for certain combinations of x and y data. My guess is it has something to do with how the UIAxes supports all 3 axis. For some reason there isn't an option to lock the UIAxes into a 2d format what I can tell.
I've tried programmatically resetting the viewing angle after plotting but that doesn't seem to fix it.
Here is the code I'm using to plot:
plot(Ax,X,Y,'-k');
view(Ax, 0, 90);
grid(Ax,'minor');
Any help would be much appreciated.
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Performance 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!