added xmin xmax for Plot.fit()