Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

plt line of best fit

plt.plot(np.unique(x), np.poly1d(np.polyfit(x, y, 1))(np.unique(x)))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #plt #line #fit
ADD COMMENT
Topic
Name
9+7 =