MATLAB Answers

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

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

Accepted Answer

Cameron B
Cameron B on 21 Jan 2020
ax = gca;
ax.YAxisLocation = "left";
  1 Comment
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)

Community Treasure Hunt

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

Start Hunting!