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 ?

 Akzeptierte Antwort

Cameron B
Cameron B am 21 Jan. 2020

0 Stimmen

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

1 Kommentar

Giuseppe
Giuseppe am 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!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Gefragt:

am 21 Jan. 2020

Kommentiert:

am 21 Jan. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by