How to |
Combine Two or More Graphics
When working with graphics in Mathematica
, you may want to combine several graphics into a single image. Mathematica
can combine graphics by overlaying them or by embedding them together in different orders.
One of the most common ways to combine graphics is by using Show
Set up some graphics to combine, stored in this example as
Overlay the graphics by using Show
Display the full plot range using PlotRange->All
Graphics can also be placed together in a row, grid, or column if you do not want to overlay them.
to put the graphics in a row:
to put them in a grid:
to put them in a column:
The graphics options Epilog
can also be used to combine graphics. They work by embedding graphics together, but differ in the order in which they embed graphics.
works by embedding a graphic on top of another graphic.
as an option within Graphics
to embed a point onto a line:
works by embedding a graphic behind another graphic.
as an option to Graphics
to embed a point behind a line:
can also be used with 3D graphics.
Make two 3D graphics and combine them using Show
You can use Epilog
to embed a 2D graphic within a 3D graphic.
Add a watermark to a 3D graphic by using Epilog
as an option within SphericalPlot3D