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":

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2023_epilog, author="Wolfram Research", title="{Epilog}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/Epilog.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_epilog, organization={Wolfram Research}, title={Epilog}, year={1991}, url={https://reference.wolfram.com/language/ref/Epilog.html}, note=[Accessed: 19-March-2024 ]}