Closed ACManke closed 1 year ago
This bug crept in with PyFerret v7.45, where a change was made to draw tic marks on top of any graticule lines, to make sure that tic marks are nice and visible, especially when drawing tic marks inside the plot box. For depth axes, there is a test for whether the z value is between the first and last values (so we don't accidentally draw a graticule slightly outside the plot box). This test was wrong for a depth axis. For these axes, the Z values run, for instance, from 5000 to 0 with a negative delta-value between tics, and that was done incorrectly.
There is currently no way to get the horizontal graticule lines for depth axes, but the fix is now in ppl/plotlib/yaxis1.F A new test is also added to the benchmark suite
Graticule lines are not drawn across the plots at the tic marks on the depth axis.
The same thing happens with a z-y plot and a 1-D line plot in Z. If we regrid to a regularly spaced Z axis the behavior is unchanged.
See also #129
@ryofurue