|
From: Thomas S. <t.s...@fz...> - 2010-06-03 18:57:23
|
plot filename using VarOne:(column(VarTwo)*1.1) Jan Nowack-2 wrote: > > 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 > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/something-like-plot-filename-using-VarOne%3A%28%24VarTwo*1.1%29-possible--tp28767804p28771588.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |