Show

Show[graphics, options]
shows graphics with the specified options added.

Show[g1, g2, ...]
shows several graphics combined.

DetailsDetails

  • 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 , effectively overlaying the graphics.
  • The lists of non-default options in the 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.

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

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

In[1]:=
Click for copyable input
Out[1]=

Combine the density plot with the contour plot:

In[1]:=
Click for copyable input
Out[1]=

Change options for existing graphics:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
New in 1 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »