此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)
Mathematica HowTo
How to | Customize My Graphics
Mathematica allows you to customize your 2D and 3D graphics through a variety of options.
Without any options set, Plot uses a variety of default option values for color, axes style, and so on:
In[1]:=
Click for copyable input
Out[1]=
Add a plot label:
In[2]:=
Click for copyable input
Out[2]=
Style the plot label:
In[3]:=
Click for copyable input
Out[3]=
    
Style the curve:
In[4]:=
Click for copyable input
Out[4]=
Style the axes:
In[5]:=
Click for copyable input
Out[5]=
Style the labels:
In[6]:=
Click for copyable input
Out[6]=
    
Create a filled plot:
In[7]:=
Click for copyable input
Out[7]=
Draw grid lines:
In[8]:=
Click for copyable input
Out[8]=
Specify manual ticks on the axes:
In[9]:=
Click for copyable input
Out[9]=
    
Add points under or over the plot:
In[10]:=
Click for copyable input
Out[10]=
Add several styled graphics primitives to the plot:
In[11]:=
Click for copyable input
Out[11]=
    
The default graphics produced by Plot3D use a variety of default option values:
In[12]:=
Click for copyable input
Out[12]=
Control the intersection point of the axes:
In[13]:=
Click for copyable input
Out[13]=
    
Omit mesh:
In[14]:=
Click for copyable input
Out[14]=
Control the mesh drawn on the surface:
In[15]:=
Click for copyable input
Out[15]=
    
Plot several surfaces together:
In[16]:=
Click for copyable input
Out[16]=
Control the regions over which the surfaces are plotted:
In[17]:=
Click for copyable input
Out[17]=
Specify lighting simulation to use for coloring the surfaces:
In[18]:=
Click for copyable input
Out[18]=
Control the ratio of the box dimensions and add other styles:
In[19]:=
Click for copyable input
Out[19]=
    
Get a list of all the options that can be used to customize the plots you produce with Plot and Plot3D:
In[20]:=
Click for copyable input
Out[20]=