Qurak

Highlight the intersection of two surfaces

示例 2 步,在同一个会话中按顺序运行。每一步都在引擎上执行过,下面的输出就是它实际产生的。

第 1 步
h = x ^ 2 + y ^ 2 + z ^ 2 - 2;
g = x ^ 3 + y ^ 2 - z ^ 2;

无输出——这一步是在为下一步做准备。

第 2 步
ContourPlot3D[{h == 0, g == 0}, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}, MeshFunctions -> {Function[{x, y, z, f}, h - g]}, MeshStyle -> {{Thick, Blue}}, Mesh -> {{0}}, ContourStyle -> Directive[Orange, Opacity[0.5], Specularity[White, 30]]]
输出
-Graphics3D-

用到的函数

相关操作示例

全部操作示例 · 函数参考 · 从 MCP 客户端使用