From: Mojca M. <moj...@gm...> - 2012-05-14 07:51:12
|
On Mon, May 14, 2012 at 8:21 AM, <pl...@pi...> wrote: > HI, > > I am plotting some data from a data file with four columns to produce > three plot lines. > > set timefmt "%d.%m.%y:%H:%M"; set xdata time > plot "fast.log" using 1:2 t "systolic" w l, "fast.log" using 1:3 t > "diastolic" w l, "fast.log" using 1:4 t "pulse" w l > > > To save having a separate gnuplot script file I was trying to put these > two lines at the head of the data and use the plot '-' feature. But this > involves reading the data three times and I can't see how to do it. > > Before suggesting ways this could be improved I was wondering whether I > was missing a trick. Simply use empty quotation marks: plot "fast.log" using 1:2 t "systolic" w l, "" using ... Mojca |