This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ImagePadding

ImagePadding
is an option for graphics functions that specifies what absolute extra padding should be left for extended objects such as thick lines and annotations such as tick and axis labels.
Noneleave no padding
Allleave enough padding for all objects that are present
mthe same padding on all sides
{{left,right},{bottom,top}}different padding on different sides
  • With PlotRangeClipping->True, objects such as thick lines are still clipped at the edge of the plot range region, even if image padding has been specified. Annotations such as tick and axis labels are not clipped in this case.
Leave no padding outside of the plot range:
Leave enough padding for all objects that are present:
Specify the same padding for all sides in printer's points:
Specify different padding on each side:
Leave no padding outside of the plot range:
In[1]:=
Click for copyable input
Out[1]=
 
Leave enough padding for all objects that are present:
In[1]:=
Click for copyable input
Out[1]=
 
Specify the same padding for all sides in printer's points:
In[1]:=
Click for copyable input
Out[1]=
 
Specify different padding on each side:
In[1]:=
Click for copyable input
Out[1]=
Thick lines and labels outside of the bounding box can be clipped without ImagePadding:
Leave enough padding for labels:
Specify the same padding for all sides in printer's points:
Specify different padding on different sides:
ImagePadding is defined within ImageSize:
ImageMargins is defined outside of ImageSize:
New in 6