I have written code that creates a power fit to some data. The code is :
I think plot the data with the fit as follows:
axis([.001 .1 40 100])
My problem is I am trying to display the equation of the fit on the plot. The equation is of the form y=b*x^m where b and m are the two coefficients from the polyfit. I would like to display this equation in the same location of the plot every time, which would ideally be towards the top center.