Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Graphics Options & Styling > 3D Graphics Options >

FaceGrids

FaceGrids
is an option for three-dimensional graphics functions that specifies grid lines to draw on the faces of the bounding box.
  • The following settings can be given for FaceGrids:
Noneno grid lines drawn
Allgrid lines drawn on all faces
{face1,face2,...}grid lines drawn on the specified faces
{{face1,{xgrid1,ygrid1}},...}details of grid lines specified
  • Faces are specified as {dirx, diry, dirz}, where two of the diri must be 0, and the third one must be +1 or -1.
  • For example, the x-y face with smallest z value is specified as {0, 0, -1}.
  • For each face, specifications {xgridi, ygridi} can be given to determine the arrangement of grid lines. These specifications have the form described in the notes for GridLines.
Put grids on every face of a 3D graphic:
Put grids on both x-y faces:
Specify the overall style of face grids, using FaceGridsStyle:
Put grids on every face of a 3D graphic:
In[1]:=
Click for copyable input
Out[1]=
 
Put grids on both x-y faces:
In[1]:=
Click for copyable input
Out[1]=
 
Specify the overall style of face grids, using FaceGridsStyle:
In[1]:=
Click for copyable input
Out[1]=
Put face grids on the x=x_(max) plane:
Put face grids on the x=x_(min) plane:
On the y=y_(min) plane, put grid lines on x=0, and :
Put face grids at the specified positions, on both y=y_(min) and z=z_(max) planes:
Specify the style of each face grid:
Specify overall style of face grids, using FaceGridsStyle:
Individually styled face grids can be used with FaceGridsStyle, and have higher priority:
Face grids are placed on the major ticks by default:
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team