axis number recorded when button clicked