Using Fit[] inside Plot[] function
- To: mathgroup at smc.vnet.net
- Subject: [mg119507] Using Fit[] inside Plot[] function
- From: twiggy666 <dejanristic78 at gmail.com>
- Date: Tue, 7 Jun 2011 06:47:07 -0400 (EDT)
pt = {{3, a}, {5, b}, {9, c}, {11, d}, {15, e}, {18, f}} Plot[Fit[pt, {0, x, x^2, x^3, x^4, x^5, x^6}, x], {x, 0, 18}] I want to use this type of plot inside a dynamic module (see link to notebook below for full code). Doesnt work though. I know i can use InterpolatingPolynomial[] inside Plot[] for similar effect but it doesnt produce the same curve. This is a link to a notebook with the full code: http://dl.dropbox.com/u/28494067/upg3.nb