我需要使用gnuplot在.dat文档中绘制数据。我试图绘制的数据在文件outfile.dat中表示如下(一点点样本):
0.900 500.000 100.000
1.900 500.000 100.000
2.900 500.000 100.000
3.900 500.000 100.000
4.900 500.000 100.000
5.900 500.000 100.000
6.900 500.000 100.000
7.900 500.000 100.000
8.900 500.000 100.000
9.900 500.000 100.000
10.900 500.000 100.000
如您所见,每列都有一个制表符。根本不是罕见的角色。当我尝试使用
绘制此文件时plot "outfile.dat" using 1:2
我收到以下错误:
libplot error: flinewidth: invalid operation
plot: an unrecognized command `0x9' was encountered in the input
plot: the input file `salida.dat' could not be parsed
为什么我收到此错误?我做错了什么? 感谢。
答案 0 :(得分:3)
我想我明白了。
你没有使用gnuplot,你正在使用plotutils。
首先需要使用M-x report-emacs-bug
在终端中启动gnuplot。然后,您可以在gnuplot内启动gnuplot
,不您的终端。