Show

Show[graphics,options]

shows graphics with the specified options added.

Show[g1,g2,]

shows several graphics combined.

Details

  • Show can be used with Graphics and Graphics3D.
  • Show allows any option that can be applied to graphics to be given.
  • Options explicitly specified in Show override those included in the graphics expression.
  • Show[g1,g2,] or Show[{g1,g2,}] concatenates the graphics primitives in the gi, effectively overlaying the graphics.
  • The lists of nondefault options in the gi are concatenated.
  • Show applies the function defined as the setting for DisplayFunction, and returns the result. For ordinary notebook operation, this function is just Identity.
  • Image and Image3D objects can also be combined with other graphics. Their pixel positions range from 0 to the dimensions of the image in the standard image coordinate system:

Examples

open allclose all

Basic Examples  (3)

Combine the plot of a curve with the plot of a list:

Combine the density plot with the contour plot:

Change options for existing graphics:

Options  (2)

DisplayFunction  (2)

Display a graphic in PopupWindow when clicked:

Display a graphic in a new notebook:

Applications  (1)

Import an elevation map and take a part of it:

Draw a relief-shaded map:

Draw contour lines:

Combine two plots:

Possible Issues  (1)

Show uses the options from the first graphic:

To see the entire graphic, use PlotRange->All:

Wolfram Research (1988), Show, Wolfram Language function, https://reference.wolfram.com/language/ref/Show.html (updated 13).

Text

Wolfram Research (1988), Show, Wolfram Language function, https://reference.wolfram.com/language/ref/Show.html (updated 13).

CMS

Wolfram Language. 1988. "Show." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 13. https://reference.wolfram.com/language/ref/Show.html.

APA

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

BibTeX

@misc{reference.wolfram_2021_show, author="Wolfram Research", title="{Show}", year="13", howpublished="\url{https://reference.wolfram.com/language/ref/Show.html}", note=[Accessed: 17-May-2022 ]}

BibLaTeX

@online{reference.wolfram_2021_show, organization={Wolfram Research}, title={Show}, year={13}, url={https://reference.wolfram.com/language/ref/Show.html}, note=[Accessed: 17-May-2022 ]}