Hi Irene,
I am not exactly sure what you are trying to do, but if you are trying
to find the corresponding Y value for a given X value (which is not
exactly on a point), you can do the following:
If the data is in the form of an array of {x,y} clusters, you can feed
it directly to an "Interpolate 1 d array" function (on the array
pallete), specify the X value, and it will spit out the interpolated Y
value.
(If I remember correctly, the X,Y function must be monotonically
increasing for this to work).
You can do the same thing even if the data is not in the required form
(i.e. array of {x,y} cluster) and is instead a 2d array.
In this case use the function "Threshold 1 d array" to find the x-index
and then supply this value to the "Interpolate 1 d array" function to
find the corresponding y value.
Neville Dholoo
Test Services Engineer
Cellex Power Products Inc.
220-13155 Delf Place
Richmond BC
Canada V6V 2A2
604 248 3683
604 270 4304 fax
www.cellexpower.com
> >Dear List,
> >Does anyone know how to find out the index of a point
> >in a XY graph?
> >Thank you.
> >Irene
> >
> >=====
> >Irene He