Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何绘制 |z-1| = 2,实线从-10到+10,复线从-10i到+10i?我已经尝试了很多年,似乎我无法做到正确。Z代表复数!
另外,我也可以在数学中使用 x+iy 符号吗?还是 a+ib?
谢谢
对于等高线图:
ContourPlot[Abs[x + I y] == 2, {x, -10, 10}, {y, -10, 10}]
仅绘制一个(实值)函数:
Plot3D[Abs[x + I y], {x, -10, 10}, {y, -10, 10}]
当然,变量名的选择是完全任意的。
只是为了好玩:通过一些聪明的选择,您可以绘制一个复值复函数,例如通过将 Plot3D 或 ContourPlot3D 与 Animate 拼凑在一起。