出口3D绘图从数学到MATLAB [英] export 3d plot from Mathematica into MATLAB

查看:263
本文介绍了出口3D绘图从数学到MATLAB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是用数学来制作一些3D绘图,但由于文件是巨大的,我不能简单地操纵数学的三维图形,所以我决定将它们导出到MATLAB和图表有工作。我所做的:

I am using Mathematica to produce some 3d plots but since the files are huge I can't simply manipulate the 3d graphs in Mathematica, so I decided to export them into MATLAB and work with the graphs there. I did:

Export["filename.eps",exp]

但我不能在MATLAB开启3D图形。

but I could not open the 3d graph in MATLAB.

我在哪里错了? 谢谢

推荐答案

您似乎在期待Matlab的读取写入由数学EPS文件,并进一步操纵它。由于的EPS(封装的PostScript)文件将包含您的3D图只是一个2D投影,一个是用于印刷,即使Matlab的将读取并显示EPS文件它不会是能够与第三维的任何事情不直接重新psented文件$ p中$。我觉得这是你要去哪里错了。

You seem to be expecting Matlab to read an EPS file written by Mathematica and to further manipulate it. Since an EPS (Encapsulated PostScript) file will contain only a 2D projection of your 3D plot, one intended for printing, even if Matlab will read and display an EPS file it isn't going to be able to do anything with the 3rd dimension which isn't directly represented in the file. I think this is where you are going wrong.

当然,你应该做的是出口,从数学的数据集,并将其导入到MATLAB?如果是这样,请编辑您的问题,并提供一些关于你的数据集的详细信息,你已经写了这么远code。

Surely what you ought to be doing is exporting the datasets from Mathematica and importing them into Matlab ? If so, edit your question and provide some more details about your datasets and the code you've written so far.

我有点惊讶,你希望Matlab的是能够显示大型数据集比数学显著更高的性能,这是不是我已经注意到,但那就不是件事情我已经深入研究的问题。

I'm a little surprised that you expect Matlab to be able to display large datasets with significantly more performance than Mathematica, it's not something I've noticed but then it's not something I've looked closely into.

这篇关于出口3D绘图从数学到MATLAB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆