Gnuplot: Plot row-wise and named data as bundle of differently colored and titled lines
问题 I'm trying to plot a bundle of graphs that are currently stored like this : MyFile.txt "ID01" 1 2 3 4 5 "ID02" 3 4 5 6 7 8 9 "ID03" 4 3 1 2 3 4 such that there is one line titled "ID01" that shows the first row only, another line titled "ID02" and so on. Bonus points if lines are displayed in different colors. Any help is much appreciated! I got as far as this : plot for[blockIndex=0:3] "MyFile.txt" matrix index blockIndex every ::1 w lp title "".blockIndex which produces the below image if