【问题标题】:3d coordinate graphing3d 坐标绘图
【发布时间】:2011-05-20 22:03:17
【问题描述】:

如何在mathematica 中绘制3d 坐标?我正在尝试使用mathematica 绘制3d 点。我也想看看他们完成后的样子。到目前为止,这就是我所做的......我有成千上万的点来绘制 fyi。

输入

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}}] 

我没有看到图表。 在此先感谢您的帮助! -乔伊

【问题讨论】:

  • 当我执行 ListPointPlot3D 时,我看到了四个点。
  • 使用 Mathematica 7,我还在 3D 框中看到了四个点。你用的是什么版本?

标签: 3d wolfram-mathematica graphing coordinate


【解决方案1】:

如果ListPointPlot3D 返回未计算,并且您没有更改任何会阻止它工作的东西,那么您可能正在使用 Mathematica 5 并从其他地方复制了此代码。

在这种情况下,请尝试使用:

a = {{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5}, {7, 2, 1}};

Show[Graphics3D[Point /@ a]]

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-07-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-06
    • 2021-11-11
    • 1970-01-01
    相关资源
    最近更新 更多