|
From: Emanuel B. <in...@da...> - 2022-06-28 01:00:05
|
> plot \ > data u ($0+1):1 w l lc "cyan" lw 2 t "solene", \ > data u ($0+1):2 w l lc "magenta" lw 2 t "incal", \ > data u ($0+1):3 w l lc "yellow" lw 2 t "lich", \ > data u ($0+1):4 w l lc "green" lw 2 t "josk", \ > data u ($0+1):5 w l lc "white" lw 2 t "rjc", \ > data u ($0+1):6 w l lc "red" lw 2 t "katzeilla" I just read of columnhead, however that's still hard-coded (the number of lines) data="/home/incal/public_html/hits/hits.dat" plot \ data u ($0+1):1 w l lc "cyan" lw 2 t columnhead, \ data u ($0+1):2 w l lc "magenta" lw 2 t columnhead, \ data u ($0+1):3 w l lc "yellow" lw 2 t columnhead, \ data u ($0+1):4 w l lc "green" lw 2 t columnhead, \ data u ($0+1):5 w l lc "white" lw 2 t columnhead, \ data u ($0+1):6 w l lc "red" lw 2 t columnhead I realize I have sorted the data so the columnhead solution doesn't work if one dude passes the other. So right, I'll unsort that but ... I don't see how it will work, if one user is added or deleted for example? I guess tagging the individual data won't work. Maybe put it in a column of its own and refer to it explicitly? -- underground experts united https://dataswamp.org/~incal |