Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
只是为了让这个列表更完整一点......
Just to make this list, a bit more complete ...
还有 gtk-fortran。
gtk-fortran 还提供了 PLplot 的接口(GTK 3 分支中>=5.13)。
There is also gtk-fortran.
gtk-fortran offers also an interface to PLplot (>=5.13 in the GTK 3 branch).
我认为有一些可用的库,它们允许您直接从 Fortran 中进行数据渲染,但据我所知,没有像 MatPlotLib 这样的库。
编辑:这是一个简短的链接集合:
但是典型的Fortran应用程序的要点不是数据的可视化,而是它的一代。通常,您会生成一些输出文件,然后可以通过 gnuplot 或其他一些可视化工具读取该文件。常见的数据容器格式例如是 HDF5。
如果仍然需要在 Fortran 应用程序中进行直接可视化,您可以使用 ISO_C_Binding 与任何 C 库连接,这将为您提供丰富的选项。对于这些情况,您可能需要在 C-API 周围生成一些包装层,以便在 Fortran 应用程序中提供方便的使用。
I think there are some libraries available, which allow you to do directly some rendering of data from Fortran, however nothing like MatPlotLib, as far as I know.
Edit: Here is a short link collection:
But the main point of the typical Fortran application is not the visualization of the data, but its generation. Typically you produce some output file, which can then be read by gnuplot or some other visualization tool. A common data container format is for example HDF5.
If there is still some need for direct visualization from within the Fortran application, you can use the ISO_C_Binding to interface with any C-Library, which should provide you with plentiful options. Still for these cases it is likely, that you will need to generate some wrapping layer around the C-API to provide an convenient usage in the Fortran application.
免费:Mjograph(仅限 2d 绘图)和 Veusz(2d 和 3d 绘图)
也许您可以使用 Python/Compiled-Fortran 代码生成 csv 或简单的空格分隔文件,并使用 Mjograph 和/或 2d/3d 等 2d 绘图软件进行处理像 Veusz 这样的软件。 Mjograph 仅可通过 Mac 和/或 Java 平台使用。 Veusz 可以使用 Python 编写脚本,它是使用 Python 与 Qt 和 Qt 构建的。 Numpy,实际上保存文件只是一个普通的Python脚本,与gnuplot相当(至少在易用性方面)。 veusz 的教程清楚地展示了这些功能。我喜欢它从 GUI 开始,但之后您可以放弃纯脚本编写。
Mjograph: http://www.ochiailab.dnj.ynu.ac.jp/mjograph /
Veusz:https://veusz.github.io/
与将数据转储到其中相比,Veusz 似乎更自然一些Matlab 或 Mathematica。至少如果你习惯在 Linux 上使用 Bash 脚本来推动 python 和 Fortran 的话。
如果您坚持使用 3D 数据,我会再看一下 DISLIN,它可以很好地工作,具体取决于您需要可视化的内容。该许可证对于商业用途来说相当实惠。如果用于学术用途,它是免费的。
Free: Mjograph (2d plots only) and Veusz (2d and 3d plots)
Perhaps you can generate csv or simple space-delimited files with your Python/Compiled-Fortran code, and process using 2d plotting software like Mjograph and/or 2d/3d software like Veusz. Mjograph is only available via Mac and/or Java platform. Veusz is scriptable with Python, it was built using Python with Qt & Numpy, in fact the save file is just a plain Python script, and is comparable to gnuplot (at least in terms of ease of use). The tutorial with veusz clearly shows what the capabilities are. I like that it starts you off with the GUI, but you can wean off to pure scripting afterwards.
Mjograph: http://www.ochiailab.dnj.ynu.ac.jp/mjograph/
Veusz: https://veusz.github.io/
Veusz seems a little more natural compared to dumping data into Matlab or Mathematica. At least if you are used to pushing python and Fortran around with Bash scripts on linux.
If you insist on 3d data, I would take a second look at DISLIN, it can work quite well depending on what you need to visualize. The license is quite affordable for commericial-use. If using for academic use it's free.
通常,Fortran 用户创建大量数据文件,然后使用一些适合该应用程序的第三方可视化软件。有几个库直接链接到 Fortran。 Dislin 是一款非常棒的软件(尤其是在 Windows 上)。它有大量的文档,一旦学习曲线结束,您也可以创建出色的 GUI。 GnuplotFortran 是 Fortran 到标准 gnuplot 的接口。我还没有使用它,但听到了好消息。
Typically, a Fortran user creates massive data files then uses some 3rd party visualization software that fits the application. There are a couple of libraries that directly link to Fortran. Dislin is a fantastic one (particularly on Windows). It has a ton of documentation and once the learning curve is over you can create great GUI's as well. GnuplotFortran is an interface from Fortran to the standard gnuplot. I've yet to use it, but hear good things.
我的选择是 Visual Numerics Inc. 的 PV-WAVE,最近被 Rogue Wave Solutions 收购。
它使用大型 Fortran 例程库,并采用其自己的特殊 4G 语言来加速您自己的自定义数据显示的编码。
该产品并不便宜——它是为地震数据分析、风速/方向数据表示、翼型流动、注塑冷却、应力分析等模拟等应用而开发的——但它是我认为最好的产品见过。
非常清晰的文档,为每个库子程序提供的示例,良好的帮助指南,直接联系技术支持。
让 MatLab 死掉。
My choice would be something like PV-WAVE from Visual Numerics Inc. -- lately bought out by Rogue Wave Solutions.
This uses a big library of Fortran routines and employs its own special 4G language to speed up coding your own custom data displays.
This product is not cheap -- it was developed for applications like seismic data analysis, wind speed/direction data representation, simulation of things like airfoil flow, injection-molding cooling, stress analysis, etc -- but it is the best that I've seen.
Very clear documentation, examples supplied for each library sub-program, good help guide, direct line to tech support.
Leaves MatLab for dead.