【问题标题】:Plotting Points in Mathematica not Showing upMathematica 中的绘图点未显示
【发布时间】:2023-03-09 14:21:01
【问题描述】:

我只是想绘制 {3, 4, -2} 和 {7, -1, 5}。我正在使用 ListPlot3D。我得到的只是由轴定义的立方体。我根本没有看到我的观点。有人知道吗?

这是我输入的内容:

ListPlot3D[{{3, 4, -2}, {7, -1, 5}}]

我明白了:

【问题讨论】:

    标签: 3d wolfram-mathematica graphing


    【解决方案1】:

    或者,如果您实际上是在尝试绘制单个点,那么

    ListPointPlot3D[{{3, 4, -2}, {7, -1, 5}}, PlotStyle->PointSize[0.03]]
    

    【讨论】:

      【解决方案2】:

      ListPlot3D 的帮助说它的目的是从点值和高度列表中生成一个表面。两点不足以定义一个曲面,但三点足以。例如:

      ListPlot3D[{{3, 4, -2}, {5, 5, 5}, {7, -1, 5}}]
      

      给予:

      【讨论】:

        猜你喜欢
        • 2011-12-03
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-11-19
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-07-19
        相关资源
        最近更新 更多