Clear Filters
Clear Filters

Removing space between the axis

2 views (last 30 days)
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

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 19 May 2019
Edited: KALYAN ACHARJYA on 19 May 2019
yticks([0 1 2 3 4 5]);
More detail read here

More Answers (0)

Categories

Find more on Graphics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!