Modifying y axis division
Show older comments
Hi,
I wrote some code and got the following graph.

My Problem is the y axis has only 4 points i.e [0 , 5 , 10 , 15] bu the x axis has 9 values [0 : 2 : 16]. Therefore, when I say grid on I am getting rectangular grids, which is kinda not good looking.
What should I do so that the y-axis will also have 9 values and the graph has some nice looking square grids?
Thank You!
Answers (0)
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!