To find the graph y=bxm which best fits a set of data points, you can use the power_regression command. Given a set of points, either as a list of x-coordinates followed by a list of y-coordinates, or simply by a list of points, the power_regression command will find the values of m and b which give the best fit curve. For example, if you enter
or
you will get
so the best fit (in this case, exact fit) power curve will be y = 1.0 x2.
To plot the curve, you can use the command power_regression_plot; if you enter
you will get
which plots the graph, and has the equation and R2 value above the graph. Note that in this case the R2 value is 1, indicating that the data points fall directly on the curve.