Modified link functions to support drawing coordinate axes