将 Boole 与 MaxValue 和/或 PlotRegion 结合使用
为什么这不起作用? 我以前绕过过这个,但我不记得我是怎么做到的,而且我从来没有继续弄清楚为什么这种类型的输入不起作用。是时候去了解一下了!
对于那些看不到图片的人:
RegionPlot3D[
x^2 + 2 y^2 - 2 z^2 = 1 && -1 <= z <= 1, {x, -5, 5}, {y, -5,
5}, {z, -1, 1}]
Set::write: "Tag Plus in -2.+25.+50. is Protected"
然后只有一个空的立方体,没有我的表面。
Why doesn't this work?
I have bypassed this before but i can't remember how i did it, and I never went on to figure out why this type of inputs didn't work. About time to get to know it!
For those who cant see the pic:
RegionPlot3D[
x^2 + 2 y^2 - 2 z^2 = 1 && -1 <= z <= 1, {x, -5, 5}, {y, -5,
5}, {z, -1, 1}]
Set::write: "Tag Plus in -2.+25.+50. is Protected"
And then there is just an empty cube without my surface.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果 z 受到其他曲面的限制,您可以像这样:
或使用 ContourPlot:
If z is limited by other surfaces you could go like this:
Or with ContourPlot:
试试这个
或者,如果你只想要表面
请注意双等号,而不是单等号。
Try this
Or, if you just want the surface
Note the double equals sign, rather than the single equals sign.