Changing number of minor ticks between each integer

22 views (last 30 days)
I currently have 4 minor ticks between each number, which is the go to number matlab uses unless otherwise specified. How do I change it to just 1 tick mark between each number?
Here is graph, notice on x-axis it has 4 minor tick marks.
  1 Comment
Christopher Arreola
Christopher Arreola on 10 Dec 2021
Got it to work using this
a.XAxis.MinorTickValues = 1:0.5:10;

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by