changed code to display full x and y axis rather than just the ones that got hit