From: Gopesh P. <gop...@ya...> - 2007-11-23 13:46:01
|
Hello Mr.Br=C3=B6ker, Thanks for your help. I got what you want to explain about pipe. I used the pipe to send commands to gnuplot from Visual Basic (Shell and Sendkeys functions in VB). =20 But my gnuplot command is a curve fitting function for which initially I guess parameter values a and b and then gnuplot will do fitting and display final set of parameters.=20 Now my question is that is there any way by which gnuplot can store, send back those a and b variables to VB and then I pipe these final values again to gnuplot. This can give me complete automation. Thanks, Gopesh Gopesh Patel wrote: >=20 > Hello members, >=20 > I have a data file containing two columns and I have a fitting function > like this : f1(x) =3D a1 * sin(x) + b1=20 >=20 > Now I want to multiply my fitting function with 1st value of the 2nd > column like this: > f1(x) =3D a1 * [1st value of 2nd column * sin(x)] + b1.=20 >=20 > Is it possible to access the individual values of the column and use them > like above ? Or can I declare some variable and store individual value in > and use it in fitting function? >=20 > Thanks and regards, > Gopesh >=20 --=20 View this message in context: http://www.nabble.com/Help-needed-with-curve-= fitting-function-tf4849257.html#a13912623 Sent from the Gnuplot - User mailing list archive at Nabble.com. |