Removing space between the axis

3 vues (au cours des 30 derniers jours)
Khang Nguyen
Khang Nguyen le 19 Mai 2019
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

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 19 Mai 2019
Modifié(e) : KALYAN ACHARJYA le 19 Mai 2019
yticks([0 1 2 3 4 5]);
More detail read here

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by