1.15 FAQ-126 How to make sure the tick labels are integers when I change major tick number?

Last Update: 7/27/2015

In Origin 8.x or above, when you set the number of major ticks of the axis, the tick label values will be calculated from axis scale and major tick numbers so that they won't always be integers.

In case you want to make sure the the tick labels are integers, you could use negative major tick numbers.

For example you could use -4 as the major tick number and it means rescale would try to get the best range which the tick label numbers are rounded up, and number of major ticks will try to be close to 4 but may not be exactly 4.

Keywords:axis, tick label, major ticks, tick number, integer