MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Why the Interpolation function cannot make a serious of points be linked smoothly?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28350] Why the Interpolation function cannot make a serious of points be linked smoothly?
  • From: liwen liwen <gzgear at yahoo.com>
  • Date: Thu, 12 Apr 2001 02:18:13 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear friends;

How are you!
Interpolation function is able to make a serious of
points to be linked smoothly,
but now I find the following Interpolation function is
not able to be linked 
smoothly, what is the matter?

data1 = {{0, 0}, {1.3, 1}, {2, 3}, {2.3, 5}, {5.678,
7}, {7, 9}, {8, 12}, {12,
         18}};
data2 = {{0, 0}, {1.3, 1}, {2, 3}, {2.7, 5}, {5.678,
7}, {7, 9}, {8, 12}, {12,
         18}};
f1 = Interpolation[data1];
f2 = Interpolation[data2];
g1 = Plot[f1[x], {x, 0, 12}];
g2 = Plot[f2[x], {x, 0, 12}];
Show[g1, g2]

the data2 can be linked smoothly, but data1 not. I
just change the {2.7,5} to
{2.3,5}. 

Thank you very much!

E-mail:  gzgear at yahoo.com

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/


  • Prev by Date: List Integration
  • Next by Date: Re: Help on 3rd order nonlinear ode
  • Previous by thread: Re: List Integration
  • Next by thread: Re: Re: Why the Interpolation function cannot make a serious of points be linked smoothly?