The details of the algorithm are a little involved to get into here, but it is true that the gap between the minimum value and the first inner marker, as well as the gap between the maximum value and the second inner marker don't necessarily match the gaps between each pair of inner markers. The latter are all identical, but the other two can vary. This is done in order to display "round" numbers for the inner markers, even as the max and min might not be a "round" number. So, for example, if your axis range is (0.23, 0.92) you might end up with an axis containing the following values:
0.23, 0.40, 0.60, 0.80, 0.92
If your purpose is to have equal gaps throughout the axis, I have a couple of suggestions that you might want to try:
1. You can experiment with t
he ATTR_XLOOSE_FIT_AUTOSCALING and ATTR_XLOOSE_FIT_AUTOSCALING_UNIT attributes. In the example I gave above, you could use these attributes change the range of the axis, so that with the same plot data, you would end up with:
0.20, 0.40, 0.60, 0.80, 1.00
2. You can set the number of divisions manually. This entails setting the ATTR_XDIVISIONS attribute to a fixed number, n. When you do that, a side effect is that the gaps are all identical. So again, using the same example, if you set the number of divisions to 4, you would end up with:
0.2300, 0.4025, 0.5750, 0.7475, 0.9200
Hope this helps
Luis
NI