我试图在 Mathematica 中使用 ContourPlot3D 绘制曲面,但结果不一致;可能是语法

问题描述 投票:0回答:1

我经常无法让它绘制任何内容,并且输出与输入相同。 有时弄乱它之后,我能够让它发挥作用,但我不知道我在改变什么。我正在尝试绘制这些函数

ContourPlot3D[z == cos[x], {x, -6, 6}, {y, -4, 4}, {z, -2, 2}]

ContourPlot3D[x == z^2 - y^2, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}]

ContourPlot3D[ z == tan[x^3 + z^2 - 3 x], {x, -2, 2}, {y, -2, 2}, {z, -2, 2}]

我输入 ContourPlot3D[z == cos[x], {x, -6, 6}, {y, -4, 4}, {z, -2, 2}] 和它绘制的时间的一半。另一半只是重复我的输入。

wolfram-mathematica
1个回答
0
投票

Mathematica 对正确大写非常热衷。尝试一下

Cos

ContourPlot3D[z ==Cos[x], {x, -6, 6}, {y, -4, 4}, {z, -2, 2}]

ContourPlot3D[x == z^2 - y^2, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}]

这个让人困惑,因为其中没有 y,我不知道该怎么办。

ContourPlot3D[ z == Tan[x^3 + z^2 - 3 x], {x, -2, 2}, {y, -2, 2}, {z, -2, 2}]

尝试晒黑

ContourPlot3D[ z == Tan[x^3 + z^2 - 3 x], {x, -2, 2}, {z, -2, 2}]

试试cos

ContourPlot3D[z ==Cos[x], {x, -6, 6}, {y, -4, 4}, {z, -2, 2}]

这些改变是否一切都有效?

© www.soinside.com 2019 - 2024. All rights reserved.