change to xy axis rather than pixel num