Clip y values to fit within graph.