MATLAB Answers

Figure Tick Marks and Axes Properties in Matlab 2019

58 views (last 30 days)
MW on 22 Jul 2019
Commented: David on 3 Jul 2020 at 19:15
In the previous version of Matlab (e.g. 2017), one could go to the axes properties and change the scale of major and minor marks. For example in this figure the major tick marks appear at 50. The interface of Matlab 2019 is quite new, how do we change the x axis tick marks now?
Major ticks correspond to 10 divisions
Minor ticks to 2 divisions.
The current automatic setting show major ticks at 50 units.


Sign in to comment.

Accepted Answer

Navya Seelam
Navya Seelam on 25 Jul 2019
Use “xticks” to have major ticks at desired positions
In order to have minor ticks check the XMinorTick in Property Inspector
Property Inspector->Ticks->XMinorTick

  1 Comment

David on 3 Jul 2020 at 19:15
Is there a way to specify the number of minor ticks between each major tick? I see how to turn the minor ticks on, but its not clear how to change the number of minor ticks.
David Burdige

Sign in to comment.

More Answers (0)