Midline of sinusoidal functions from graph