Mathematica 9 is now available

Plot

Usage

Plot[f,  x, xmin, xmax ]产生一个 x xminxmax的函数 f 的图形。
Plot[  ,  , ...  ,  x, xmin, xmax ]绘制几个函数


Notes

Plot 以非标准方式计算它的自变量(参见A.4.2节)。如果这能在指定数值被给出前安全的进行,应当使用Evaluate计算要绘制的函数。
Plot 有和Graphics相同的选项,下面是附加选项:
"\!\(\*StyleBox[\"\\\"Compiled\\\"\", \"MR\"]\) ""\!\(\*StyleBox[\"\\\"True\\\"\", \"MR\"]\) "是否编译要绘制的函数
"\!\(\*StyleBox[\"\\\"MaxBend\\\"\", \"MR\"]\) ""\!\(\*StyleBox[\"\\\"10.\\\"\", \"MR\"]\) "在段间最大弯曲
"\!\(\*StyleBox[\"\\\"PlotDivision\\\"\", \"MR\"]\) ""\!\(\*StyleBox[\"\\\"20.\\\"\", \"MR\"]\) "采样时最大子集因子
"\!\(\*StyleBox[\"\\\"PlotPoints\\\"\", \"MR\"]\) ""\!\(\*StyleBox[\"\\\"25\\\"\", \"MR\"]\) "样本点的初始数目
"\!\(\*StyleBox[\"\\\"PlotStyle\\\"\", \"MR\"]\) ""\!\(\*StyleBox[\"\\\"Automatic\\\"\", \"MR\"]\) "对每个曲线指定风格的图形指令
Plot 使用缺省设置 Axes -> True.
• • Plot 初始以由PlotPoints指定的等间距的样本点数目计算 f 。然后使用自适应算法选择附加的样本点,试图产生一个在相邻段间的弯曲小于MaxBend的一个曲线。它使用至多PlotDivision的因子划分一个给定区间。
• 应当认识到在使用有限样本点的情况下,在你的函数中可能对Plot缺失一些特征。为了检查你的结果,应当增加PlotPoints的设置。
Plot 返回一个 Graphics 对象.
• 参见 Mathematica 全书: 1.9.1.
• 同时参见: ListPlot, Graphics.
Further Examples

Here are two plots of some trig functions; the second has a few options set. You can see all the possible options and their default settings with Options[Plot].

Evaluate the cell to see the graphic.

In[1]:=  

In[2]:=  



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.