我在 Gnuplot 中读取文件时遇到了一些问题。例如,我有一个这样的文件:
___________________________________________
'#current'
month followed retweeted mentioned replied
Jan 395 29 35 28
Feb 380 28 32 31
'#previous'
month followed retweeted mentioned replied
Jan 381 30 38 32
Feb 378 25 42 30
Mar 374 28 46 40
______________________________________________________
我只需要阅读第二个块,它以标签“#previous”开头。我该怎么做?我试过这个命令:
plot "data.txt" index 'previous' using 3:xticlabel(1) axes x1y1 with lines linecolor rgbcolor "red",\
但它不起作用。有任何想法吗?