View all xy

This function changes the limits of x- and y-axis in such a way, that all data points of the curve appear within the plotting area.