MathGroup Archive 2003

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

Search the Archive

Interpolation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42544] Interpolation
  • From: bhatya21 at hotmail.com (charu bhat)
  • Date: Mon, 14 Jul 2003 05:42:13 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I have data in the form

{ {  0.000000000000000E+000,  0.000000000000000E+000,
69884870000002     },
 {  0.000000000000000E+000,  0.100000000000000     ,
69884870000002     },
 {  0.000000000000000E+000,  0.200000000000000     ,
69884870000001     },
 {  0.000000000000000E+000,  0.300000000000000     ,
69884869999995     },
 {  0.000000000000000E+000,  0.400000000000000     ,
69884869999967     },
 {  0.000000000000000E+000,  0.500000000000000     ,
69884869999832     },
 {  0.000000000000000E+000,  0.600000000000000     ,
69884869999204     }}

The points are basically xyz triplets. z value is the function value for
given value of x and y. I dont know what that function is but I want to plot
that function. I have data for x ranging from 0 to 10 and y ranging from 0
to 6. I have not included all the data. I can give you all the data if you
want.

I tried

f1= Interpolation[
{ {  0.000000000000000E+000,  0.000000000000000E+000,
69884870000002     },
 {  0.000000000000000E+000,  0.100000000000000     ,
69884870000002     },
 {  0.000000000000000E+000,  0.200000000000000     ,
69884870000001     },
 {  0.000000000000000E+000,  0.300000000000000     ,
69884869999995     },
 {  0.000000000000000E+000,  0.400000000000000     ,
69884869999967     },
 {  0.000000000000000E+000,  0.500000000000000     ,
69884869999832     },
 {  0.000000000000000E+000,  0.600000000000000     ,
69884869999204     }}

];

Plot3D[f1, {x, 0, 10}, {y, 0, 6}]


But it does not work.

Can you tell me how to do it?


  • Prev by Date: RE: Contour plots for irregular data
  • Next by Date: Re: RE:
  • Previous by thread: Re: Trying to use Table to iterate a Part specification
  • Next by thread: Re: Interpolation