1.266 FAQ-1072 How to show minor tick labels and major tick labels in different font size?

Last Update: 9/17/2020

When you have shown both the major tick labels and the minor tick labels for the axis, you might want to show them in different font size just like this:

DiffFontSize-MajorMinor-TickLabels 01.png

To adjust the font size of major tick labels, you can
Double-click on the axis tick labels, go to the Format sub-tab under the Tick Labels tab of Axis dialog opened.

DiffFontSize-MajorMinor-TickLabels 02.png

Please note, to change the font format, you can also click on the tick labels, and in the pop up mini toolbar, change the font and font size.

DiffFontSize-MajorMinor-TickLabels 03.png


Once you have set the font size for the major tick labels, you can show the minor tick labels and set the font size to be a percentage of the major tick labels' font size.

To show the minor tick labels in different size, you can
Double-click on the axis, go to the Tick Labels tab and then Minor Tick Labels sub-tab, do the setting below:

  • To show the minor tick labels as integer values:
    DiffFontSize-MajorMinor-TickLabels 04.png
  • To show the minor tick labels as decimal with specified significant digit:
    DiffFontSize-MajorMinor-TickLabels 05.png
Note:

\p50 means the font size of minor tick labels are 50% of the major tick labels' font size. You can refer to this page to find more format commands.
%d means show the value as a integer;
%.2g means show the decimal part and with 2 significant digit. You can refer to this page to find more %() format noations.