Prolog

Prolog

is an option for graphics functions which gives a list of graphics primitives to be rendered before the main part of the graphics is rendered.

Details

  • Graphics primitives specified by Prolog are rendered after axes, boxes, and frames are rendered.
  • In three-dimensional graphics, two-dimensional graphics primitives can be specified by the Prolog option. The graphics primitives are rendered in a 0, 1 coordinate system.
  • Directives specified by Prolog affect only the prolog, and not other contents of a graphic.

Examples

open allclose all

Basic Examples  (2)

Draw a disk behind the plot of a quadratic function:

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

Draw a bar chart using rectangles behind ListLinePlot:

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

Scope  (2)

Applications  (1)

Properties & Relations  (1)

Neat Examples  (1)

See Also

Background  Epilog  BaseStyle  FrameStyle  AxesStyle  PlotStyle  DisplayFunction  Overlay

Introduced in 1991
(2.0)