|
From: Ethan A M. <sf...@us...> - 2011-04-07 20:25:45
|
On Wednesday, April 06, 2011 06:05:23 am pl...@pi... wrote: > Hi, > > I have to plot some data that depend on a parameter (pump speed) that I > read in with each line of data. I need to calculate a plot value > dependant on this value. I had it parametised as a function I call form > the plot command but this is not accurate enough. I need it to be a > look-up table (ie array) of values. > > flo(dac)=flo_grad*(dac-16)+flo_0; > > this needs to be > > flo(dac)=speed[n]; > > now am I missing a trick or is this simply not possible with the kind of > algebra available within a gnuplot script? Not currently supported. The closest we have is speed = " 1.11 2.22 3.33 4.44 5.55 " flo = word(speed,n) |