gnuplot single plot in different colors
问题 I have a single column of data (say 100 samples): plot 'file' using 1 with lines But this data is segmented: 10 points, then 10 more, etc... and I'd like each block of 10 to appear in a different color. I did filter them to 10 separate files and used plot 'file.1' with lines, 'file.2' with lines... But then the X axis goes 0..10 instead of 0..100 and all 10 graphs are stacked. Is there a simple way to do that without having to generate fake X data ? 回答1: Depending on your detailed data format