Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/bash/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Bash 使用gnuplot绘制三维散乱数据_Bash_Command_Ubuntu 12.04_Gnuplot - Fatal编程技术网

Bash 使用gnuplot绘制三维散乱数据

Bash 使用gnuplot绘制三维散乱数据,bash,command,ubuntu-12.04,gnuplot,Bash,Command,Ubuntu 12.04,Gnuplot,您好,我刚刚得到一些3d散乱数据(数据名称为data.txt),如下所示: 0 0 0 -1.08051e-16 -1.73991e-16 -1.79157e-16 -1.02169e-15 -1.19283e-15 5.92632e-16 3.41114e-16 -1.02211e-15 3.19436e-15 -4.51742e-15 -5.18861e-15 -4.60754e-15 -2.00685e-15 -4.67813e-15 -4.86101e-15 -9.82727

您好,我刚刚得到一些3d散乱数据(数据名称为
data.txt
),如下所示:

0 0 0 
-1.08051e-16 -1.73991e-16 -1.79157e-16 
-1.02169e-15 -1.19283e-15 5.92632e-16 
3.41114e-16 -1.02211e-15 3.19436e-15 
-4.51742e-15 -5.18861e-15 -4.60754e-15 
-2.00685e-15 -4.67813e-15 -4.86101e-15 
-9.82727e-16 -2.24413e-15 -5.87927e-16 
-7.74439e-16 -9.73515e-16 -1.69707e-15 
4.32668e-16 2.15869e-15 -2.25004e-15 
-3.74495e-15 -2.20596e-15 -7.33201e-16 
-4.97941e-16 -5.45749e-16 -2.93136e-15 
-2.40174e-15 -4.31022e-15 7.13531e-15 
-4.58812e-15 -4.38568e-15 -9.99635e-16 
-7.00716e-15 7.53852e-15 -8.484e-15 
4.50028e-15 2.2255e-15 2.32808e-15 
-8.57887e-15 3.09127e-15 -3.49207e-15 
-2.0608e-16 -6.06078e-15 -6.07822e-16 
-7.76829e-15 -1.47001e-14 -1.08924e-14 
1.04016e-15 6.33122e-16 -2.11985e-15 
2.33557e-15 -7.92667e-15 2.52748e-15 
6.94335e-15 3.70286e-15 -1.44815e-15
.........
第一、第二和第三列分别代表x、y和z轴。
我想使用splot命令来绘制这些数据。谁能给点建议吗?谢谢。

由于您的数据格式很好,您可以从

splot 'data.txt'
如果您想获得更多乐趣,可以添加一些选项来更改其打印方式:

splot 'data.txt' with points pointtype 7

您需要什么样的建议?

由于您的数据格式很好,您可以从

splot 'data.txt'
如果您想获得更多乐趣,可以添加一些选项来更改其打印方式:

splot 'data.txt' with points pointtype 7
你想要什么样的建议