Use this method if you want to bind the curve to certain minimum and
maximum values. The four parameters passed are the minimum x, maximum x,
minimum y and maximum y values respectively.
The curve is automatically reset with a call to
reset() when this function is used.