Make linking of axes more generic, by using linking attributes