ExtentSize

ExtentSize
is an option to DiscretePlot and DiscretePlot3D that specifies how far to extend out from each plot point.

DetailsDetails

  • The following settings can be used:
  • Noneno extent
    Fullfully extend to neighboring points
    Allmaximal equal size extents
    Leftfully extend to the left in all dimensions
    Rightfully extend to the right in all dimensions
    {sl,sr}specify left and right extents
    {specx,specy}use different specifications in different dimensions
  • The sizes can be either in ordinary plot coordinates or Scaled[s] as a fraction of distance between neighboring points.
  • In one dimension we have the equivalent specifications:
  • None
    Full{Scaled[0.5],Scaled[0.5]}
    Left{Scaled[1.0],Scaled[0.0]}
    Right{Scaled[0.0],Scaled[1.0]}
  • In two dimensions, ExtentSize->spec is equivalent to ExtentSize->{spec,spec}, using the same extent specification along both the axis and axis.

ExamplesExamplesopen allclose all

Basic Examples  (6)Basic Examples  (6)

Specify sizes that fill the regions between neighboring points:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Use absolute sizes centered on the plot point:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Use different sizes on either side of the plot point:

In[1]:=
Click for copyable input
Out[1]=

Use fractions of the distance to neighboring points:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

With unevenly spaced points:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

ExtentSize->All uses the largest absolute size that will not cause overlapping regions:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

ExtentSize in 3D accepts :

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2010
(8.0)