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

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 ?

 Accepted Answer

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

1 Comment

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)

Asked:

on 21 Jan 2020

Commented:

on 21 Jan 2020

Community Treasure Hunt

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

Start Hunting!