# MATLAB: How to move y-axis number on the left side

axesMATLABplot

I want to have y-axis numbers on the left side of the axis itself in such a way that they don't overlap the straight line. Any solution ?

• ax = gca;ax.YAxisLocation = "left";