Removed the extra code for a fixed x-axis