Movatterモバイル変換


[0]ホーム

URL:


WOLFRAM

Wolfram Language & System Documentation Center
PlotRangePadding

PlotRangePadding

is an option for graphics functions that specifies how much further axes etc. should extend beyond the range of coordinates specified byPlotRange.

Details
Details and OptionsDetails and Options
Examples  
Basic Examples  
Scope  
Applications  
Properties & Relations  
See Also
Tech Notes
Related Guides
History
Cite this Page

PlotRangePadding

PlotRangePadding

is an option for graphics functions that specifies how much further axes etc. should extend beyond the range of coordinates specified byPlotRange.

Details

  • PlotRangePadding can be used for both two- and three-dimensional graphics.
  • The settings can be of the following forms:
  • pthe same padding in all directions
    {px,py,}different padding in different directions
    {{pxL,pxR},}different padding on left and right, etc.
  • For each direction the following forms can be used:
  • Automatican automatic amount of padding
    ss coordinate units
    Scaled[s]a fractions of the plot
    Noneno padding
  • IfPlotRange includes all points in a plot, thenPlotRangePadding->Scaled[s] yields a plot that covers a fraction1-2s of the whole plotting area.
  • PlotRangePadding->Automatic adds a total of 4% forPlotRange settingsAll,Full, andAutomatic. For explicit settings, it adds no padding.
  • Any padding specified byImagePadding is added outside padding specified byPlotRangePadding.

Examples

open allclose all

Basic Examples  (3)

By default, 2% of padding is added to the plot range in each direction:

No padding added:

Include 1 coordinate unit of padding on all sides:

Scope  (2)

Pad on all sides by the size of the image:

Specify different padding on each side:

Applications  (1)

Add padding to make the range of data more obvious:

Properties & Relations  (1)

No padding is added if the plot range is explicit:

See Also

PlotRange ImagePadding ImageMargins PlotRangeClipping

Function Repository:EnlargeBoundingBox

Tech Notes

Related Guides

History

Introduced in 2007(6.0)

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2025_plotrangepadding, author="Wolfram Research", title="{PlotRangePadding}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/PlotRangePadding.html}", note=[Accessed: 29-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_plotrangepadding, organization={Wolfram Research}, title={PlotRangePadding}, year={2007}, url={https://reference.wolfram.com/language/ref/PlotRangePadding.html}, note=[Accessed: 29-November-2025]}

Top

[8]ページ先頭

©2009-2025 Movatter.jp