Let's say I have the following data stored in the file 'file' (exciting!):
a_0 a_1 a_2 a_3
b_0 b_1 b_2 b_3
...
and also a given function f. I want to draw several plots, one after the other, each consisting of a single point in (x,y) coordinates : a_2,f(a_2), then b_2,f(b_2), etc.
I want to use a gnuplot-only solution (and I think there must be one, although I can't find it !).
I am looking for something like :
plot 'file' every ::0::0: using ($2):(f($2))
pause -1
plot 'file' every ::1::1: using ($2):(f($2))
...
I seem to be doing something too complicated... Thanks for any help !
1,0is the row number. So withplot 'file' every ::0::0 using 3:(f($3))it should work fine.