Epilog

Epilog

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

Details

  • In three-dimensional graphics, two-dimensional graphics primitives can be specified by the Epilog option. The graphics primitives are rendered in a 0,1 coordinate system.

Examples

open allclose all

Basic Examples  (2)

Draw the sample points on top of the plot:

Place text at the right bottom corner of the 3D graphic:

Scope  (2)

The ordinary coordinate system is used for Epilog in 2D graphics:

A scaled 0,1 coordinate system is used for Epilog in 3D graphics:

Applications  (3)

Display the sample points, as well as the lines joining them, on top of the interpolated plot:

The same result, using a duplicated dataset with linear interpolation and meshes:

Draw large points where the line and the curve intersect:

Alternatively, use MeshFunctions to find the intersections:

Put a watermark on top of the graphic:

Properties & Relations  (3)

Objects in Epilog are not part of the PlotRange computation:

In 2D, the axes are drawn on top of the graphics:

Objects in Epilog are drawn on top of any graphics, including the axes:

In plot functions, PlotRangeClipping clips the graphics including Epilog by default:

By setting PlotRangeClipping to False, the graphic can be drawn outside of the plot range:

Neat Examples  (1)

Image mask generated by RegionPlot:

Apply the mask on top of 3D graphics, like a "picture frame":

Introduced in 1991
 (2.0)