I was a little addicted to the method of adjusting the axis scale interval with APLpy, so make a note.
For example, if you want to adjust the display interval of the x-axis main scale, use degrees.
fig.ticks.set_xspacing(0.0005)
Just do it. However, at this time, the argument must be a multiple of the minimum unit of label format. Now
fig.ticklabels.set_xformat(hh:mm:ss.ss)
If so, the minimum unit is 0.001s or 0.015 arcsec, and therefore 0.015 / 3600 degree. Based on this, you can put the number of n * 0.015 / 3600 in set_xspacing with n as an integer.
APLpy documentation — aplpy v2.0.2 Overlapping tick labels on x axis · Issue #258 · aplpy/aplpy
Recommended Posts