fit and plot overall