adding function to plot 1d model and disp fitting