|
From: Jan N. <jnn...@go...> - 2010-05-27 17:07:34
|
Hi all, i have to plot a lot of datafiles in which the position of the columns could change. A change of the datafiles is not possible. So VarOne could be e.g on Pos 1 in one file, then on Pos. 17. So i wrote a script that writes the Variable Positions in a file like VarOne=17 VarTwo=12 and load the file at the beginnning. That works fine, but now i have to change some values by a factor. Something like plot filename using 1:($2*1.1) of course works. But it does not work with the User Variables, e.g. plot filename using VarOne:($VarTwo*1.1) Does anyone knows a solution? With best regards Jan |