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




