|
SOLUTIONS
|
MATHEMATICA 内置符号
更多信息更多信息
- Plot 将变量 x 视为局部变量,等效使用 Block.
- Plot 有属性 HoldAll,并仅在对变量 x 赋给特定数值后计算 f.
- 在某些情况下,在把特定数值赋给变量 x 之前,用 Evaluate 以符号方式计算 f 更有效.
- 在 f 计算为 None 的区域,不绘制任何曲线.
- Plot 除了具有与 Graphics 相同的选项外,还增加了下列选项或改变:
-
AspectRatio 1/GoldenRatio 高宽比 Axes True 是否绘制轴 ClippingStyle None 如何绘制曲线被剪切的区域 » ColorFunction Automatic 确定曲线颜色的方法 ColorFunctionScaling True 是否缩放 ColorFunction 的变量 EvaluationMonitor None 在每次函数计算时,需要计算的表达式 Exclusions Automatic x 中排除的点 ExclusionsStyle None 排除点的绘制样式 Filling None 每条曲线下填充 FillingStyle Automatic 填充的样式 MaxRecursion Automatic 递归子划分的最大数量 Mesh None 在每条曲线上绘制多少个网格点 MeshFunctions {#1&} 如何决定网格点的放置位置 MeshShading None 如何在网格点间绘制阴影区域 MeshStyle Automatic 网格点的样式 Method Automatic 修饰曲线的方法 PerformanceGoal $PerformanceGoal 试图优化哪些方面的性能 PlotLegends None 曲线的图例 PlotPoints Automatic 样本点的初始数量 PlotRange {Full,Automatic} y 的范围或包含的其它值 PlotRangeClipping True 是否在曲线范围内剪切 PlotStyle Automatic 指定每条曲线样式的图形指令 RegionFunction (True&) 如何确定是否包含一个点 WorkingPrecision MachinePrecision 内部计算使用的精度 - 曲线的交互式标签可以用 Tooltip、StatusArea 或 Annotation 来指定.
- Plot[Tooltip[{f1, f2, ...}], {x, xmin, xmax}] 指定
应该显示为相应曲线的工具提示条. - Tooltip[f, label] 为曲线指定一个明确的工具提示条标签.
- Typical settings for PlotLegends include:
-
None no legend Automatic automatically determine the legend "Expressions" use
,
, ... as the legend labels{lbl1,lbl2,...} use
,
, ... as the legend labelsPlaced[lspec,...] specify placement for the legend - Plot 最初根据 PlotPoints 指定的等间隔的样本点来计算 f. 然后使用一个自适应的算法来选择其它的样本点,对给定的间隔进一步划分,子划分次数最多达 MaxRecursion 次.
- 注意:使用有限个样本点,这对于 Plot 而言,可能会丢失函数的一部分特性. 若要检查您的结果,可以增加 PlotPoints 和 MaxRecursion 的设置.
- 如果曲线不能达到一定的平滑度,On[Plot::accbend] 令 Plot 显示一条信息.
- 设置 Mesh->All 时,Plot 将在每条曲线上对每个函数采样的位置绘制一个点.
- 在 MeshFunctions 和 RegionFunction 中,提供给函数的参数是 x、y. 默认情况下,提供给 ColorFunction 函数的是这些参数的按一定比例缩放后的值.
- 函数沿着每条曲线进行计算.
- 设置 ClippingStyle->Automatic 时,在绘图区域的顶部或底部绘制一条线,无论是否有曲线超出绘图范围.
- 使用默认设置 Exclusions->Automatic 和 ExclusionsStyle->None 时,Plot 在它检测到的不连续处断开曲线. Exclusions->None 连接不连续处.
- Plot 通常返回 Graphics[{Line[...], ...}].
- 当给定一个 Filling 指定,Plot 返回 Graphics[{GraphicsComplex[...], ...}].
版本 1 的新功能 | 版本 9 修改功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »





