I imported the file into Wolfram alpha. I’m having a heck of a time trying to build a “best fit” graph showing the axes names and a listloglogplot graph with the axes names. Anyone know how to reference the filename in a ListPlot and ListLogLogPlot and have the axes names shown? Could you send me a sample command? Do I need to change how my csv file looks?
No worrries. I downloaded a trial of mathematica. I opened the nb file. I see the listplot and listloglogplot. Is there a way to draw a best fit line/curve through the points? Thanks!!!
Hi Daniel, Mathematica has very strong curve fitting capabilities. The straight line in the Log-Log plot implies Log y = m Log x+b is a reasonable model. Which can be written as y = b x^m. The attached notebook uses NonlinearModelFit to fit that model to the data.
If you like Mathematica, you should note that there are home and student licenses at very reasonable prices, with of course a non-professional use provision.. (No – I don’t work for Wolfram, but I love Mathematica.)