title: Line of best fit scatter plot
body: <p>I'm trying to do a scatter plot with a line of best fit in matlab, I can get a scatter plot using either scatter(x1,x2) or scatterplot(x1,x2) but the basic fitting option is shadowed out and lsline returns the error 'No allowed line types found. Nothing done'</p>
  
  <p>Any help would be great,</p>
  
  <p>Thanks,
  Jon.</p>