|
SOLUTIONS
|
MATHEMATICA 内置符号
ListContourPlot[array]
绘制高度值数组的等高线图.
ListContourPlot[{{x1, y1, f1}, {x2, y2, f2}, ...}]
绘制指定点值的等高线图.
更多信息更多信息
- ListContourPlot[array] 沿着页方向放置 array 的连续行,在垂直方向放置连续列.
- ListContourPlot 默认情况下产生灰度输出,越大的值显示颜色越浅.
- ListContourPlot 的可选项与 Graphics 一样,可以有以下补充和修改:
-
AspectRatio 1 长宽比 BoundaryStyle None 如何绘制 RegionFunction 边界 BoxRatios Automatic 有效的三维边框比率 ClippingStyle None 如何绘制由 PlotRange 剪切的值 ColorFunction Automatic 如何确定等高线之间的区域的着色 ColorFunctionScaling True 是否按比例缩放 ColorFunction 的自变量 ContourLabels Automatic 如何标记等高线的层次 Contours Automatic 显示多少个等高面或哪几个等高面 ContourShading Automatic 如何设置等高线之间的阴影 ContourStyle Automatic 等高线的样式 DataRange Automatic 假设对数据所采用的 x 和 y 坐标值的范围 Frame True 是否在图形周围绘制边框 FrameTicks Automatic 边框刻度标记 InterpolationOrder None 在数据点之间插值的函数的每个变量的多项式次数 LightingAngle None 模拟光源的有效角度 MaxPlotPoints Automatic 包含点的最大数量 Mesh None 每个方向绘制网格线的数量 MeshFunctions {} 如何确定网格线的放置 MeshStyle Automatic 网格线的样式 Method Automatic 插值和数据化简的方法 PerformanceGoal $PerformanceGoal 优化执行的性能方面 PlotLegends None 等高线区域的图例 PlotRange {Full,Full,Automatic} 包含 f 的范围或其它值 PlotRangeClipping True 是否剪切绘图区域 PlotRangePadding Automatic 值的范围的填充程度 RegionFunction (True&) 如何确定是否包含一个点 - ListContourPlot 线性插值,得出平滑的等高线图.
- array 应为实数的矩形数组;有非实数元素时,应在图形中留有空间.
- ListContourPlot[array] 在默认情况下对每个数据点采用 x 和 y 坐标值,数据点为从 1 开始的连续整数.
- 设置 DataRange->{{xmin, xmax}, {ymin, ymax}} 指定了使用的其它坐标值范围.
- 默认设置 DataRange->Automatic 时,ListContourPlot[{{a11, a12, a13}, ..., {an1, an2, an3}}] 将假定数据以
形式给出,而不是一个
×3 的数组值. - ListContourPlot[list, DataRange->All] 通常用 list 表示一个数组值.
- 对于 ListContourPlot[array],Mesh->Full 绘制穿过每个数据点坐标的网格线.
- 对于位于等高线层次之间的区域,在确定对区域如何着色的过程中,ListContourPlot 看起来首先处理 ContourShading 的设置,然后处理 ColorFunction 的设置.
- ListContourPlot 对 SparseArray 对象起作用.
- MeshFunctions 和 RegionFunction 中提供给函数的自变量是 x、y、f.
- ColorFunction 默认下提供单个自变量,它由关于每对连续等高层的 f 的平均比例值给出.
- PlotLegends 的典型设置包括:
-
None 不使用图例 Automatic 自动确定图例 Placed[lspec,...] 指定图例位置 - ListContourPlot 返回 Graphics[GraphicsComplex[data]].
版本 1 的新功能 | 版本 9 修改功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



