如何在 Octave / Gnuplot 中可视化 Femlab 的 3D 结果?
我有一些来自 Femlab 模型的数据。因为我想更多地研究结果,所以我还想使用 Octave / Gnuplot 来可视化计算数据。我已将 Femlab 中的数据以“xyz 值”(4 列)形式导出到 txt 文件中。一切都未分类 - 我能做的就是。但如何将其放入 gnuplot 中呢?我可以选择一个变量来修复它(假设是 x)并通过 splot 绘制其余的 y、z 和值。但是,我有成千上万的数字,这是不可能的,因为 Femlab 不会保持变量固定(所以你沿着 x 排序,发现没有两个 x 值相同)。 我知道 Femlab / Matlab 接口,但不幸的是我没有 Matlab。 先感谢您!
I have some data from model in Femlab. Because I would like to work on the results more, I would like to use Octave / Gnuplot as well to visualize the computed data. I have exported the data from Femlab into a txt file in form "x y z value" (4 columns). Everything unsorted - than can I do. But how to get this into gnuplot? I can choose one of the variables to fix it(let's be it x) and plot the rest y,z and value by splot. But, I have thousand and thousand of numbers and this is not possible, than Femlab doesn't keep the variables fixed (so you sort it along x and find out that there are no two x values the same).
I know about Femlab / Matlab interface, but unfortunately I havent Matlab.
Thank you in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你试过scilab吗?它是一个类似于 Octave 的 Matlab 克隆,似乎支持一些 FEM 东西:http://wiki。 scilab.org/Finite%20Elements%20in%20Scilab。
另请参阅http://www.utc.fr/lrm/giens05/CDROM /CDROM/lo01.pdf 一篇论文,其中介绍了 Scilab 和 OpenFEM 的接口。
Have you tried scilab? It is a matlab clone like octave and seems to support some FEM stuff: http://wiki.scilab.org/Finite%20Elements%20in%20Scilab.
See also http://www.utc.fr/lrm/giens05/CDROM/CDROM/lo01.pdf a paper where they interface Scilab and OpenFEM.