是图形函数的一个选项,用来给出绘制图形的主要部分之后将要绘制的一个图形基元列表.
Epilog
是图形函数的一个选项,用来给出绘制图形的主要部分之后将要绘制的一个图形基元列表.
更多信息
- 在三维图形中,二维图形基元可以由 Epilog 选项指定. 这些图形基元在 0,1 坐标系统中绘制.
范例
打开所有单元 关闭所有单元基本范例 (2)
data = Table[{i, RandomReal[i]}, {i, 10}];ListLinePlot[data, Epilog -> {PointSize[Medium], Point[data]}, InterpolationOrder -> 2]SphericalPlot3D[ϕ, {θ, 0, Pi}, {ϕ, 0, 3Pi}, Epilog -> Inset[Framed[Style["Spiral", 20], Background -> LightYellow], {Right, Bottom}, {Right, Bottom}]]范围 (2)
在二维图像中, Epilog 使用的普通坐标系:
Table[Graphics[{Pink, Disk[{0, 0}, 10]}, Axes -> True, Epilog -> Disk[p, 2]], {p, {{-5, -5}, {0, 0}, {5, 5}}}]在三维图象中,Epilog 使用的成比例的 0,1 坐标系:
Table[Graphics3D[Sphere[{0, 0, 0}, 10], Epilog -> Disk[p, .1]], {p, {{.2, .2}, {.5, .5}, {.8, .8}}}]应用 (3)
data = Table[{i, RandomReal[i]}, {i, 10}];ListLinePlot[data, Epilog -> {Green, Line[data], PointSize[Medium], Red, Point[data]}, InterpolationOrder -> 2]ListLinePlot[{data, data}, InterpolationOrder -> {2, 1}, PlotStyle -> {Automatic, Green}, Mesh -> Full, MeshStyle -> Directive[PointSize[Medium], Red]]{f, g} = {27 x + 130, -12 - 58 x + x^2 + x^3};Plot[{f, g}, {x, -10, 10}, Epilog -> {PointSize[Large], (Point[{#, f /. x -> #}]&) /@ (x /. NSolve[f == g, x])}]可选择用 MeshFunctions 求出交集:
Plot[{f, g}, {x, -10, 10}, MeshFunctions -> {(f - g) /. x -> #&}, Mesh -> {{0}}, MeshStyle -> PointSize[Large]]watermark = Style["Watermark", 36, Bold, FontFamily -> "Helvetica", Opacity[.3]];SphericalPlot3D[ϕ, {θ, 0, Pi}, {ϕ, 0, 3Pi}, Mesh -> None, PlotStyle -> Directive[Specularity[White, 50], Yellow], Epilog -> Inset[watermark, Automatic, Automatic, Automatic, {1, 1}]]属性和关系 (3)
Epilog 中的对象不是 PlotRange 计算中的部分:
Graphics[{Pink, Disk[]}, Epilog -> Circle[{0, 1}], Frame -> True]Graphics[{Pink, Disk[]}, Axes -> True]在任意图像上绘制 Epilog 中的对象,包括轴线:
Graphics[{Pink, Disk[]}, Axes -> True, Epilog -> {Blue, Disk[{0, 0}, .4]}]在图形函数中,PlotRangeClipping 缺省情况下剪切包括 Epilog 的图形:
Plot[2Sin[x], {x, 0, 10}, Epilog -> Circle[], AspectRatio -> Automatic]通过将 PlotRangeClipping 设置为 False,可以在绘图范围之外绘制图形:
Plot[2Sin[x], {x, 0, 10}, Epilog -> Circle[], PlotRangeClipping -> False, AspectRatio -> Automatic]技术笔记
-
▪
- 图形指令和选项
历史
1991年引入 (2.0)
文本
Wolfram Research (1991),Epilog,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Epilog.html.
CMS
Wolfram 语言. 1991. "Epilog." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/Epilog.html.
APA
Wolfram 语言. (1991). Epilog. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Epilog.html 年
BibTeX
@misc{reference.wolfram_2026_epilog, author="Wolfram Research", title="{Epilog}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/Epilog.html}", note=[Accessed: 10-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_epilog, organization={Wolfram Research}, title={Epilog}, year={1991}, url={https://reference.wolfram.com/language/ref/Epilog.html}, note=[Accessed: 10-September-2026]}