PlotRange
Usage
• PlotRange 是图形函数的一个选项,指定在图形中包括的点。
Notes
• PlotRange 可以用于二维和三维图形。 • 可以使用下面的设置:
| "\!\(\*StyleBox[\"\\\"All\\\"\", \"MR\"]\) " | 包括所有的点 | | "\!\(\*StyleBox[\"\\\"Automatic\\\"\", \"MR\"]\) " | 超出的点去掉 | | {"\!\(\*StyleBox[\"\\\"min\\\"\", \"TI\"]\)\!\(\*StyleBox[\"\\\",\\\"\", \"MR\"]\) \!\(\*StyleBox[\"\\\"max\\\"\", \"TI\"]\)"}" " | " "y" (2D)"或z" (3D) "明确的限制 | | {{"\!\(\*StyleBox[\"\\\"xmin\\\"\", \"TI\"]\)\!\(\*StyleBox[\"\\\",\\\"\", \"MR\"]\) \!\(\*StyleBox[\"\\\"xmax\\\"\", \"TI\"]\)"}"\!\(\*StyleBox[\"\\\",\\\"\", \"MR\"]\) ... "}" " | 明确的限制 |
• 当对一个特殊坐标没有给出任何明确的限制,假设设置Automatic。
• 在设置 Automatic下 , 找到坐标值的分布,去掉分布中超出很远的任何点。这样的点经常由于要绘制函数的奇异性而产生。 • 形式 min, Automatic 的设置对一个坐标指定一个特殊最小值,自动确定一个最大值。
• 当给出设置 Automatic时, AbsoluteOptions 给出规范 PlotRange的明确形式。
Further Examples
In the second plot the bottom of the curve is cut off. Evaluate the cells to compare the graphics.
In[1]:=
|
In[2]:=
|
You can clip the viewing box of a ParametricPlot3D graphic. Evaluate the cells to compare the graphics.
In[3]:=
|
In[4]:=
|
The plot is displayed in a restricted range of points if the option PlotRange is not set to All. Evaluate the cells to compare the graphics.
In[5]:=
|
In[6]:=
|
|