MATLAB Answers

How to move y-axis number on the left side ?

9 views (last 30 days)
Giuseppe
Giuseppe on 21 Jan 2020
Commented: Giuseppe on 21 Jan 2020
axes.PNG
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 ?

  0 Comments

Sign in to comment.

Accepted Answer

Cameron B
Cameron B on 21 Jan 2020
ax = gca;
ax.YAxisLocation = "left";

  1 Comment

Giuseppe
Giuseppe on 21 Jan 2020
This one move all the axis, I want to move on the left side ONLY the numbers and to let the axis at the center of the plot!

Sign in to comment.

More Answers (0)

Sign in to answer this question.