Gnuplot和球形/圆柱形绘图

Gnuplot和球形/圆柱形绘图,plot,gnuplot,cylindrical,spherical-coordinate,Plot,Gnuplot,Cylindrical,Spherical Coordinate,我对使用eGnuplot进行三维绘图有一些疑问 我需要在球坐标中绘制一些数据(来自文件)。 我的数据组织如下: azimuth zenith intensity 1 2 0.256e-2 2 2 0.156e-2 3 3 ... 我使用: splot "data.out" using 1:2:3 但是第三列用作半径…所以如果我想比较两组不同的数据,强度不同,我的图就不可读了 有没有办法将半径固定为特定值,而不

我对使用e
Gnuplot进行三维绘图有一些疑问
我需要在球坐标中绘制一些数据(来自文件)。
我的数据组织如下:

azimuth   zenith    intensity  

1    2    0.256e-2  
2    2    0.156e-2  
3    3    ...            
我使用:

splot "data.out" using 1:2:3
但是第三列用作半径…所以如果我想比较两组不同的数据,强度不同,我的图就不可读了

有没有办法将半径固定为特定值,而不是使用第三列作为半径

抱歉发了这么长的帖子(((还有错误……我不是以英语为母语的人) 非常感谢你的帮助
Hypie Psi

我不能完全确定我是否理解您在寻找什么,但您可以 使用1:2:3对
部件执行一些操作。例如,如果

splot "data.out" using 1:2:(12.3)
您将拥有所有
x
y
点的
z
坐标
12.3
还可以执行更复杂的操作,例如

splot "data.out" using 1:2:($3*$3)
在这里,您可以将数据文件的第三列平方 在球坐标中执行以下操作:

splot "data.out" using ($3*cos($1)*cos($2)):($3*sin($1)*cos($2)):($3*sin($2))
如果我理解你的问题,这相当于

set mapping spherical
splot "data.out" using 1:2:3
有了这些信息,您应该能够对第三列数据执行任何您喜欢的操作,以您喜欢的方式显示