两圆锥曲面相截又是什么曲线?
乌贼 发表于 2017-6-29 13:59
闲来无事,画一个:
代码存档:- zui1 = x^2 + y^2 - (z + 1)^2/4;
- zui2 = y^2 + z^2 - (x + 1.1)^2/4;
- {ContourPlot3D[{zui1 == 0, zui2 == 0}, {x, -2, 2}, {y, -2, 2}, {z, -2,
- 2}, PlotPoints -> 50, Mesh -> None, ViewPoint -> {-2, -4, -2},
- ImageSize -> Medium],
- ContourPlot3D[zui1 == 0, {x, -2, 2}, {y, -2, 2}, {z, -2, 2},
- PlotPoints -> 50, Mesh -> {{0}, {0}, {0}},
- MeshFunctions -> Function[{x, y, z}, zui2],
- MeshStyle -> {Thickness[0.01], Red}, ViewPoint -> {-2, -4, -2},
- ImageSize -> Medium]}
复制代码 |