GraphicsColumn

GraphicsColumn[{g1,g2,}]

generates a graphic in which the gi are laid out in a column, with g1 above g2, etc.

GraphicsColumn[list,alignment]

aligns each element horizontally in the specified way.

GraphicsColumn[list,alignment,spacing]

leaves the specified spacing between successive elements.

Details and Options

  • The output from GraphicsColumn can be interactively resized, or edited as a graphic.
  • Possible alignments are:
  • Centercentered
    Leftleft justified (default)
    Rightright justified
    Fullstretched if possible to full width
    Automaticalignment points of successive items aligned
  • GraphicsColumn will by default make all items the same height, preserving individual aspect ratios for graphics, and leaving space if necessary.
  • 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 GraphicsColumn 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 column
    BackgroundNonewhat background colors to use
    BaselinePositionAutomaticwhat to align with a surrounding text baseline
    BaseStyle{}base style specifications for the column
    DividersNonewhere to draw divider lines in the column
    FrameNonewhere to draw frames in the column
    FrameStyleAutomaticstyle to use for frames
    ImageSizeAutomaticoverall size of the whole graphics column
    SpacingsScaled[0.1]horizontal and vertical spacings
  • Common settings for Frame include:
  • Noneno frame
    Trueframe around the whole column
    Allframe around every item in the column
  • GraphicsColumn[list,alignment] is equivalent to Column[list,Alignment->alignment].
  • GraphicsColumn[list,alignment,spacing] corresponds to the setting Spacings->spacing.
  • Background can be a list giving settings for each item in the column.
  • Settings for the options Alignment, Background, and Frame can be given as follows to apply separately to successive items in the column:
  • {s1,s2,,sn}use s1 through sn, then use defaults
    {{c}}use c in all cases
    {{c1,c2}}alternate between c1 and c2
    {{c1,c2,}}cycle through all ci
    {s,{c}}use s, then repeatedly use c
    {s1,{c},sn}use s1, then repeatedly use c, but use sn at the end
    {s1,s2,,{c1,c2,},sm,,sn} use the first sequence of si at the beginning, then cyclically use the ci, then use the last sequence of si at the end
    {s1,s2,,{},sm,,sn}use the first sequence of si at the beginning and the last sequence at the end
    {i1->v1,i2->v2,}specify what to use at positions ik
    {spec,rules}use rules to override specifications in spec
  • With settings of the form {s1,s2,,{},sm,,sn}, if there are more si specified than items in the column, si from the beginning are used for the first items, and ones from the end are used for the last items.
  • Settings such as Alignment, Background, and Frame can effectively be specified for individual items in the column using Item.
  • For a column of n elements, Dividers and Spacings can specify settings for the n+1 gaps between elements, starting before the first element, and ending after the last element.
  • Settings for Dividers and Spacings can have the following forms:
  • specapply spec to all gaps between items
    {specx,specy}apply speci to successive horizontal and vertical gaps
  • The speci can have the same forms as for Alignment, Background, and other item-oriented options.
  • The following settings can be used for BaselinePosition:
  • Axisaxis of the middle row in the column (default)
    Baselinebaseline of the middle row in the column
    Bottombottom of the whole column
    Centerhalfway from top to bottom
    Toptop of the whole column
    {i,pos}position pos in element i
  • The settings for BaseStyle are appended to the default style typically given by the "GraphicsColumn" style in the current stylesheet.

Examples

open allclose all

Basic Examples  (2)

Display graphics in a column:

Put a frame around every element:

Scope  (1)

Set a background for each successive entry:

Align contents to the left:

Align contents to the right:

Wolfram Research (2007), GraphicsColumn, Wolfram Language function, https://reference.wolfram.com/language/ref/GraphicsColumn.html.

Text

Wolfram Research (2007), GraphicsColumn, Wolfram Language function, https://reference.wolfram.com/language/ref/GraphicsColumn.html.

CMS

Wolfram Language. 2007. "GraphicsColumn." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GraphicsColumn.html.

APA

Wolfram Language. (2007). GraphicsColumn. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GraphicsColumn.html

BibTeX

@misc{reference.wolfram_2024_graphicscolumn, author="Wolfram Research", title="{GraphicsColumn}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/GraphicsColumn.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_graphicscolumn, organization={Wolfram Research}, title={GraphicsColumn}, year={2007}, url={https://reference.wolfram.com/language/ref/GraphicsColumn.html}, note=[Accessed: 22-November-2024 ]}