Mathematica 9 is now available
 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]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.