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 ?

 Risposta accettata

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

1 Commento

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!

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by