This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Advanced Options  /
PlotRegion

  • PlotRegion is an option for graphics functions that specifies what region of the final display area a plot should fill.
  • PlotRegion -> sxmin , sxmax , symin , symax specifies the region in scaled coordinates that the plot should fill in the final display area.
  • The scaled coordinates run from 0 to 1 in each direction.
  • The default setting PlotRegion -> {{0, 1}, {0, 1}} specifies that the plot should fill the whole display area.
  • When the plot does not fill the whole display area, the remainder of the area is rendered according to the setting for the option Background.
  • See the Mathematica book: Section 2.9.4.
  • See also: PlotRange, AspectRatio, Scaled, SphericalRegion.

    Further Examples

    By specifying a different PlotRegion than the default, you can add margins around your plot.

    Evaluate the cells to compare the graphics.

    In[1]:=

    In[2]:=