change intercept and slope plot