I have a file of this format:
x y1 y2 y3 ei1 ei2 ei3 es1 es2 es3 1 4 5 4 7 7 2 4 7 7 2 7 3 3 3 8 3 3 3 8 3 2 1 4 4 9 6 4 4 9
I want to create graphs similar to what the following command give
plot "filename" using 1:2:5:8 with yerrorbars
but using column headers ( x , y1 , ei1 and es1 ) to call them. How can I do that?
Page 84 of the gnuplot manual (documenting the using command) states:
Height Weight Age val1 val1 val1 ... ... ...
then the following graph commands are equivalent
plot 'datafile' using 3:1, '' using 3:2 plot 'datafile' using (column("Age")):(column(1)), \ '' using (column("Age")):(column(2)) plot 'datafile' using "Age":"Height", '' using "Age":"Weight"
However, when I tried them, I only got row indices relative to myself.
gnuplot
Alfred M.
source share