Put the axes radio buttons in their own helper function