|
SOLUTIONS
|
MATHEMATICA 内置符号
RegionPlot3D
RegionPlot3D[pred, {x, xmin, xmax}, {y, ymin, ymax}, {z, zmin, zmax}]
绘制一个满足 pred 是 True 的三维区域的图形.
更多信息更多信息
- pred 可以表述为任意不等式的逻辑组合.
- RegionPlot3D 绘制的区域可能包含不连续部分.
- 缺省情况下,RegionPlot3D 以0.8的不透明度显示每一区域的边界,和向外的表面法线.
- RegionPlot3D 和 Graphics3D 有相同的选项,另外还有如下额外和不同的选项:
-
Axes True 是否画坐标轴 BoundaryStyle Automatic 如何画区域的边界 BoxRatios {1,1,1} 三维边框比率 ColorFunction Automatic 如何对表面着色 ColorFunctionScaling True 是否调整 ColorFunction 的参数 EvaluationMonitor None 在每个计算函数中的计算表达式 MaxRecursion Automatic 允许的的最大递归分割数 Mesh Automatic 每个方向画多少网格线 MeshFunctions {#1&,#2&,#3&} 如何画网格线 MeshShading None 如何在网格线间画阴影 MeshStyle Automatic 网格线的样式 Method Automatic 完善表面的方法 NormalsFunction Automatic 如何确定有效的表面法线 PerformanceGoal $PerformanceGoal 需要优化的性能 PlotPoints Automatic 每个方向的初始采样点 PlotRange Full 图形的范围值 PlotStyle Automatic 每个区域表面样式的图形指令 TextureCoordinateFunction Automatic 如何决定纹理坐标 TextureCoordinateScaling True 是否缩放参数至 TextureCoordinateFunction WorkingPrecision MachinePrecision 内部计算的精度 - RegionPlot3D 初步在由 PlotPoints 指定的等间距采样点组成的三维网格上计算 pred. 然后它使用一个自适应算法来细分,细分次数最多为 MaxRecursion,以尝试找到满足 pred 是 True 的所有区域边界.
- 您应该可以注意到,由于只使用了有限个采样点,RegionPlot3D 可能会漏掉 pred 是 True 的区域. 为了检查这个结果,应该尽力增加 PlotPoints 和 MaxRecursion 的设置.
- 使用默认设置 PlotRange->Full,RegionPlot3D 将明确地包括
到
等的整个范围. - 用 Mesh->All,RegionPlot3D 将明确划出网格线来显示用来查找每一个区域的不同细分.
- RegionPlot3D 通常只能找出主要测量的区域;它不能找出只有线或点的区域.
- MeshFunctions 和 RegionFunction 中函数应用的变量是 x、y 和 z. ColorFunction 和 TextureCoordinateFunction 的函数默认采用这些变量的缩放版本.
- RegionPlot3D 返回 Graphics3D[GraphicsComplex[data]].
版本 6 的新功能 | 版本 8 修改功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



