Re: curve fitting
- To: mathgroup at smc.vnet.net
- Subject: [mg40818] Re: curve fitting
- From: "Kevin J. McCann" <kjm@KevinMcCann>
- Date: Sat, 19 Apr 2003 23:02:29 -0400 (EDT)
- References: <b7qono$3in$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Since you do not explain what you mean by "...does not really look exactly line the plot given by Microsoft EXcel", it is rather difficult to answer your question. However, I would guess that it has something to do with the fact that Mathematica does not plot all of the curve f[x]. Include the option PlotRange->All, and you will see that part of the curve near x=0. Also, you can use PlotPoints->50 to get a slightly smoother plot of the curve, but this is a small change. Kevin "C B" <cbhat at purdue.edu> wrote in message news:b7qono$3in$1 at smc.vnet.net... > please look at the following mathematica code which I actually got from some > of the good people on this newsgroup. The plot obtained in the last line of > the code, does not really look exactly line the plot given by Microsoft > EXcel. Can anyone explain what they are different ? Is it possible to obtain > an interpolation function for the plot the way it appears in Excel? > ...