如何在mathematica中的ContourPlot中使用With?
我想使用类似的东西:
ContourPlot [Abs[z-1] == 2]
并将 z 定义为 = x + iy
我在某处看到了类似 With 函数的示例,但我再也找不到它了我所有的尝试都没有成功。
I want to use something like:
ContourPlot [Abs[z-1] == 2]
and to define z as being = x + iy
I saw somewhere an example like that with the With function, but I can't find it anymore and all my tries are not being successful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,你可以。您只需确保将
With
放在ContourPlot
之外:您也可以使用
Evaluate
:这通常是绘图的情况函数,几乎总是以非标准方式评估它们的参数。
Yes, you can. You just need to be sure to either put the
With
outside of theContourPlot
:You can also use
Evaluate
:This is generally the case with plotting functions, which almost always evaluate their arguments in a non-standard way.