Re: 12M? or 12 000 000? (not 12000000)
Emanuel Berg <[email protected]> Tue, 28 Jun 2022 02:59:37 +0200
| Newsgroups | gmane.comp.graphics.gnuplot.user |
|---|---|
| Message-ID | <[email protected]> |
> 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 _______________________________________________ gnuplot-info mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info