作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
感谢 this优秀解析Plot
Yaroslav Bulatov 的算法,我现在明白为什么 Plot3D
和 ContourPlot
无法绘制具有中断和不连续性的平滑函数。
例如,在以下情况下,ContourPlot 根本无法绘制轮廓 x^2 + y^2 = 1:
ContourPlot[Abs[x^2 + y^2 - 1], {x, -1, 1}, {y, -1, 1}, Contours -> {0}]
MaxRecursion
在这个意义上什么都不做。甚至未记录的选项
Method -> {Refinement -> {ControlValue -> .01 \[Degree]}}
没有帮助(但使
Plot3D
更平滑一点)。
ContourPlot
深入到靠近断裂点和不连续点的区域?
最佳答案
这些是标准的 Plots 。
以及 10^-20 处的轮廓
他们对我来说很清楚。
你期待更准确的东西吗?
编辑
如果您想使用 Contours->{0} 选项,您可以使用:
关于wolfram-mathematica - 有没有办法强制 ContourPlot 重新检查其递归算法每个阶段的所有点?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4905635/
我是一名优秀的程序员,十分优秀!