Removing space between the axis

1 次查看(过去 30 天)
60605408_426461488142501_619273639144980480_n.png
Hey everyone,
How can I remove the space between the y axis. As it is 0 0.5 1 1.5 2 2.5 3 .... , i just only want it to be 0 1 2 3 4 5.
Thanks in advance

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-5-19
编辑:KALYAN ACHARJYA 2019-5-19
yticks([0 1 2 3 4 5]);
More detail read here

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by