I have a csv file in the form:
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?
Ugh my example got mangled by this forum.... I attached a CSV file with how the data looks.
Please see the attached notebook. Note that it is assumed the csv file is in the same directory as the notebook.
Thanks!! How do I reference this in a ListPlot or ListLogLogPlot command in wolfram alpha?
Sorry, Daniel -- I'm so Mathematica-centered I missed the Wolfram Alpha in your post. I don't use Alpha much. Maybe someone else can respond????
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.)
Thank you so much for your help.
has the incantations for nice formatting.