Gnuplot 按字母顺序绘制数据
我有这些数据集,我想用gnuplot将column2与column1进行对比。拜托,我该怎么办Gnuplot 按字母顺序绘制数据,gnuplot,Gnuplot,我有这些数据集,我想用gnuplot将column2与column1进行对比。拜托,我该怎么办 France 643427 Spain 504782 Sweden 449964 Germany 357021 Finland 338145 实现这一点的一个非常简单的命令是 plot 'test.txt' using 2:xticlabels(1) with linespoints notitle xticlabels函数从第一列获取字符串,并将其作为自定义ticlabels放
France 643427
Spain 504782
Sweden 449964
Germany 357021
Finland 338145
实现这一点的一个非常简单的命令是
plot 'test.txt' using 2:xticlabels(1) with linespoints notitle
xticlabels
函数从第一列获取字符串,并将其作为自定义ticlabels放置(类似于set-xtics-add('France'0,'Spain'1,…)
)
这给出了(版本4.6.3和pngcairo
终端):