updated scatter plot to limit to max y-axis