PlotRegion

PlotRegion

is an option for graphics functions that specifies what region of the final display area a plot should fill.

Details

  • 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.

Examples

Basic Examples  (3)

The contents of a graphic use the whole region:

Limit the contents of the graphic to the middle half of the region in each direction:

ImagePadding can also be used to add padding around a graphic:

Wolfram Research (1991), PlotRegion, Wolfram Language function, https://reference.wolfram.com/language/ref/PlotRegion.html.

Text

Wolfram Research (1991), PlotRegion, Wolfram Language function, https://reference.wolfram.com/language/ref/PlotRegion.html.

CMS

Wolfram Language. 1991. "PlotRegion." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PlotRegion.html.

APA

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

BibTeX

@misc{reference.wolfram_2023_plotregion, author="Wolfram Research", title="{PlotRegion}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/PlotRegion.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_plotregion, organization={Wolfram Research}, title={PlotRegion}, year={1991}, url={https://reference.wolfram.com/language/ref/PlotRegion.html}, note=[Accessed: 19-March-2024 ]}