Figure Tick Marks and Axes Properties in Matlab 2019

조회 수: 13 (최근 30일)
MW
MW 2019년 7월 22일
댓글: David 2020년 7월 3일
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.
Thanks.

채택된 답변

Navya Seelam
Navya Seelam 2019년 7월 25일
Hi,
Use “xticks” to have major ticks at desired positions
xticks([0:10:300]);
In order to have minor ticks check the XMinorTick in Property Inspector
Property Inspector->Ticks->XMinorTick
  댓글 수: 1
David
David 2020년 7월 3일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by