【发布时间】:2012-11-14 04:19:49
【问题描述】:
比如我要绘制函数
f(x,y) =sin(x^2+y^2)/(x^2+y^2), x^2+y^2 <=4π
在 Mathematica 中,我可以这样做:
Plot3D[Sin[x^2 + y^2]/(x^2 + y^2), {x, -4, 4}, {y, -4, 4},
RegionFunction -> (#1^2 + #2^2 <= 4 Pi &)]
RegionFunction 指定要绘制的 x,y 区域。
【问题讨论】:
-
您是否尝试过搜索 3d 极坐标图:f(r) = sin(r^2)/r^2
-
@Rasman 但是如果该区域不是圆形区域?喜欢 |x|+|y|
标签: matlab wolfram-mathematica