This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Graphics Primitives  /
GraphicsArray

  • GraphicsArray[ , , ... ] represents a row of graphics objects.
  • GraphicsArray[ , , ... , ... ] represents a two-dimensional array of graphics objects.
  • You can display a GraphicsArray object using Show.
  • GraphicsArray sets up identical rectangular display areas for each of the graphics objects it contains.
  • GraphicsArray takes the same options as Graphics, with the defaults for Ticks and FrameTicks changed to None.
  • GraphicsArray takes the additional option GraphicsSpacing, which specifies the spacing between the rectangular areas containing each graphics object. The default setting is GraphicsSpacing -> 0.1.
  • The options DisplayFunction, ColorOutput and CharacterEncoding are ignored for graphics objects given inside GraphicsArray.
  • See the Mathematica book: Section 1.9.4Section 2.9.1.
  • See also: Rectangle, RasterArray, TableForm, GridBox.

    Further Examples

    We create two simple plots, suppressing their display.

    In[1]:=

    In[2]:=

    We the plots as the elements of a graphics array. In the second array the amount of spacing between the two plots is half the (horizontal) size of each plot.

    Evaluate the cells to see the graphics.

    In[3]:=

    In[4]:=

    In[5]:=