represents a two-dimensional graphical image.

Details and Options


open allclose all

Basic Examples  (2)

Use lines, polygons, circles, etc. to build up a graphics image:

Use plot functions to automatically create Graphics from different types of data:

Scope  (13)

Primitives  (4)

Graphics primitives are drawn in the order in which they are given in Graphics:

Polygons can fold over themselves:

Vertices can be shared by using GraphicsComplex:

Inset an expression in a graphic:

Directives  (5)

Directives can specify color and opacity of faces:

Colors, thickness, and dashing directives affect lines, arrows, and edges:

Some primitives have special directives to specify various properties:

Directives can be applied to individual objects using Style:

Graphics directives remain in effect only until the end of the list that contains them:

Coordinates  (4)

Use an ordinary coordinate system:

Specify coordinates by fractions of the plot range:

Specify coordinates by fractions of the whole image:

Offset coordinates by printer's points:

Options  (71)

AlignmentPoint  (1)

Specify the coordinates within Inset to be aligned with the center of the enclosing graphic:

AspectRatio  (1)

Use numerical values for AspectRatio:

Axes  (2)

Draw all the axes:

Draw the axis but not the axis:

AxesLabel  (2)

Place a label for the axis:

Specify a label for each axis:

AxesOrigin  (2)

Determine where the axes cross automatically:

Specify the axes' origin explicitly:

AxesStyle  (1)

Specify the overall axes style, including the ticks and the tick labels:

Specify the style of each axis:

Background  (1)

Specify a background color:

BaselinePosition  (3)

Align the center of a graphic with the baseline of the text:

Specify the baseline of a graphic as a fraction of the height by using Scaled:

Use the axis of a graphic as the baseline:

BaseStyle  (2)

Set the starting style:

Set multiple starting styles:

ContentSelectable  (3)

Allow the individual graphics objects to be selectable by a single click:

No individual object is selectable; the whole graphic appears as one object:

The first click selects the whole graphic, and subsequent ones select individual objects:

Epilog  (1)

Draw a disk above the graphic, including the axes:

FormatType  (3)

By default, expressions are displayed using TraditionalForm in graphics:

Display expressions using StandardForm:

Labels are also affected by FormatType setting:

Frame  (2)

Draw a frame around the whole graphic:

Draw a frame on the left and the right edges:

FrameLabel  (1)

Specify frame labels for the bottom and the left edges:

Specify labels for each edge:

FrameStyle  (2)

Specify the overall frame style:

Specify the style of each frame edge:

FrameTicks  (2)

Put a frame, but no ticks:

Tick mark labels on the bottom and the left frame edges:

Frame ticks on the bottom and the right edges:

FrameTicksStyle  (2)

Specify frame tick and frame tick label style:

Specify frame tick style for each edge:

GridLines  (3)

Put grids across a 2D graphic:

Draw grid lines at specific positions:

Specify the style of each grid:

GridLinesStyle  (1)

Specify the overall grid style:

ImageMargins  (3)

Allow no margins outside of ImageSize:

Have 20-point margins on all sides:

Leave different margins on each side:

ImagePadding  (4)

Leave no padding outside of the plot range:

Leave enough padding for all objects and labels that are present:

Specify the same padding for all sides in printer's points:

Specify different padding on each side:

ImageSize  (3)

Use predefined symbolic sizes:

Use an explicit image width:

Use an explicit image width and height:

LabelStyle  (1)

Specify the overall style of all the label-like elements:

Method  (4)

"AxesInFront"  (1)

Force axes to be behind drawing primitives:

"FrameInFront"  (1)

By default, frames draw in front of graphics primitives:

Force the frame to draw behind graphics primitives:

"GridLinesInFront"  (1)

Force grid lines to be rendered in front of graphics primitives:

"TransparentPolygonMesh"  (1)

By default, polygon meshes double-paint their edges for efficiency reasons:

The behavior can be turned off using the "TransparentPolygonMesh" method option:

PlotLabel  (2)

Display a label on the top of the graphic in TraditionalForm:

Use Style and other typesetting functions to modify how the label appears:

PlotRange  (3)

Display all objects:

Explicitly choose and ranges:

Force clipping at the PlotRange:

PlotRange->s is equivalent to PlotRange->{{-s,s},{-s,s}}:

PlotRangeClipping  (2)

Allow graphics objects to spread beyond PlotRange:

Clip all graphics objects at PlotRange:

PlotRangePadding  (3)

Include coordinate unit of padding on all sides:

Include padding using Scaled coordinates:

Specify different padding on each side:

PlotRegion  (3)

The contents of a graphic use the whole region:

Limit the contents of the graphic to the middle half of the region in each direction:

ImagePadding can also be used to add padding around a graphic:

Prolog  (1)

Define a simple graphic to use as a background:

Use it in multiple graphics:

RotateLabel  (2)

Specify that vertical frame labels should be rotated:

Specify that vertical frame labels should not be rotated:

Ticks  (3)

Draw the axes but no tick marks:

Place tick marks automatically:

Draw tick marks at the specific positions:

TicksStyle  (2)

Specify the styles of the ticks and tick labels:

Specify the styles of and axis ticks separately:

Applications  (1)

Draw a complete graph with 9 vertices:

Properties & Relations  (5)

The StandardForm of Graphics is its rendered form:

The InputForm is the textual expression form:

Graphics can be used as input to functions:

Two-dimensional plot functions return Graphics:

Several integrated data sources return Graphics:

Many Import and Export formats support Graphics:

Neat Examples  (2)

Display an analog clock with current system time:

Digital dahlias:

Wolfram Research (1988), Graphics, Wolfram Language function, (updated 2014).


Wolfram Research (1988), Graphics, Wolfram Language function, (updated 2014).


@misc{reference.wolfram_2020_graphics, author="Wolfram Research", title="{Graphics}", year="2014", howpublished="\url{}", note=[Accessed: 02-March-2021 ]}


@online{reference.wolfram_2020_graphics, organization={Wolfram Research}, title={Graphics}, year={2014}, url={}, note=[Accessed: 02-March-2021 ]}


Wolfram Language. 1988. "Graphics." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014.


Wolfram Language. (1988). Graphics. Wolfram Language & System Documentation Center. Retrieved from