ENH: clean up axis scales

This PR cleans up and documents the code for mapping between various axes scales.