GraphicsRow

GraphicsRow[{g1,g2,}]
generates a graphic in which the gi are laid out in a row.

GraphicsRow[list,spacing]
leaves the specified spacing between successive elements.

Details and OptionsDetails and Options

  • If the gi are graphics, GraphicsRow will if possible make them all the same height, preserving their individual aspect ratios.
  • The output from GraphicsRow can be interactively resized, or edited as a graphic.
  • GraphicsRow by default inserts the same fractional space between successive elements.
  • Possible overall spacings between items are:
  • han absolute number of printer's points
    Scaled[s]a fraction s of the height of an item
  • The default spacing used by GraphicsRow is effectively Scaled[0.1].
  • The gi can be any expressions, not just graphics.
  • The following options can be given:
  • Alignment{Center,Center}horizontal and vertical alignment of elements
    AspectRatioAutomaticratio of height to width for the whole row
    BackgroundNonewhat background colors to use
    BaselinePositionAutomaticwhat to align with a surrounding text baseline
    BaseStyle{}base style specifications for the row
    DividersNonewhere to draw dividers in the row
    FrameNonewhere to draw frames
    FrameStyleAutomaticstyles to use for frames
    ImageSizeAutomaticoverall size of the whole graphics row
    SpacingsScaled[0.1]horizontal and vertical spacings
  • Common settings for Frame include:
  • Noneno frame
    Trueframe around the whole row
    Allframe around every item in the row
  • The settings for BaseStyle are appended to the default style typically given by the "GraphicsRow" style in the current stylesheet.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Display graphics in a row:

In[1]:=
Click for copyable input
Out[1]=

Put a frame around every element:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2007
(6.0)
Translate this page: