Limit the automatic vertical range calculation to the region of curves that will be visible in the final plot