|
From: Jon <dev...@gm...> - 2011-01-31 09:00:52
|
Dear All, I just asked something about mathematical operation, and Thomas gave me very useful hint. So let me ask something more advanced in my point of view. Is it possible to define an array in gnuplot, and read each row of a file into the array, for example, 1 0.56 2 0.45 3 0.56 4 0.65 ? >From what I know, I would think of the following p 'aaa.txt' u ( 'v'.$1=$1, 'w'.$1=$1 ):2 and it seems that v1=1, w1=0.56 v2=2, w2=0.45 ... But if I run the code, it fails, complaining that ')' expected Any suggestions? Thanks, Sincerely, Jon |