3D坐标绘图
如何在mathematica中绘制3d坐标?我正在尝试使用 mathematica 绘制 3d 点。我也想看看完成后它们是什么样子。到目前为止,这就是我所做的...我有数千个点可以绘制仅供参考。
输入
a = {{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5} , {7, 2, 1}}
ListPointPlot3D[a]
输出
{{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5}, {7, 2, 1}}
ListPointPlot3D[{{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5}, {7, 2, 1}}]
我看不到图表。 预先感谢您的帮助! -乔伊
how do I plot 3d coordinates in mathematica? I am trying to plot 3d points using mathematica. I want to view what they look like after I am done too. so far this is what I have done... I have thousands of points to plot fyi.
input
a = {{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5} , {7, 2, 1}}
ListPointPlot3D[a]
output
{{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5}, {7, 2, 1}}
ListPointPlot3D[{{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5}, {7, 2, 1}}]
I see no graph.
thanks in advance for the help!
-JOE
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果
ListPointPlot3D
返回未计算的值,并且您没有更改任何会阻止其工作的内容,则可能您正在使用 Mathematica 5 并从其他地方复制了此代码。在这种情况下,请尝试使用:
If
ListPointPlot3D
returns unevaluated, and you have not changed anything that would prevent it from working, perhaps you are using Mathematica 5 and copied this code from somewhere else.In that case, try using: