我正在寻找一种简单的软件,该软件可以从csv文件(或从例如libre office中粘贴)创建带有极坐标(圆柱坐标)的3d图。像这样制作趋势表面或某物也会很有用。我也希望只有90度的视野。
答案的一部分取决于所需的界面类型和所需的输出类型(质量,详细信息等)。
如果您对命令行界面没问题,则可以使用“经典”软件包gnuplot
,如注释中所述。这是我通常用于第一张照片的内容。但是我认为PyXplot通常会提供更好的绘图(但是,使用grypplot有点困难,要真正使用它,您必须了解LaTeX)。
有关在gnuplot中使用球面/圆柱坐标的示例,请参见以下页面:http : //www.gnuplot.info/demo/world.html ---诀窍是set mapping
命令。但是,您可能需要对输入文件进行一些转换。Lee Phillips的这篇文章似乎也很有趣。
gnuplot> help set mapping
If data are provided to `splot` in spherical or cylindrical coordinates,
the `set mapping` command should be used to instruct `gnuplot` how to
interpret them.
Syntax:
set mapping {cartesian | spherical | cylindrical}
A cartesian coordinate system is used by default.
For a spherical coordinate system, the data occupy two or three columns
(or `using` entries). The first two are interpreted as the azimuthal
and polar angles theta and phi (or "longitude" and "latitude"), in the
units specified by `set angles`. The radius r is taken from the third
column if there is one, or is set to unity if there is no third column.
The mapping is:
x = r * cos(theta) * cos(phi)
y = r * sin(theta) * cos(phi)
z = r * sin(phi)
Note that this is a "geographic" spherical system, rather than a "polar"
one (that is, phi is measured from the equator, rather than the pole).
Press return for more:
For a cylindrical coordinate system, the data again occupy two or three
columns. The first two are interpreted as theta (in the units specified by
`set angles`) and z. The radius is either taken from the third column or set
to unity, as in the spherical case. The mapping is:
x = r * cos(theta)
y = r * sin(theta)
z = z
The effects of `mapping` can be duplicated with the `using` filter on the
`splot` command, but `mapping` may be more convenient if many data files are
to be processed. However even if `mapping` is used, `using` may still be
necessary if the data in the file are not in the required order.
如果您正在寻找更多图形化的东西,此Wikipedia页面可以为您提供帮助。最终,我发现命令行驱动程序更适合这种情况(我的所有部队都讨厌Origin),但是您的工作量可能会有所不同。
特别是QtiPlot似乎做得很好。它是开源的,并且在Linux上免费(您可以使用进行安装apt-get install qtiplot
):
但我从来没有扩展使用它,所以我对此无济于事。...但是,如果您真的喜欢它,请记住它是捐赠软件(1):-)
(1)我与该项目或开发人员完全没有关系。我只是检查了一下,发现它做得很好并且维护得很好。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句