routines for making plot axis custom formats