|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
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:
-
None no extent Full fully extend to neighboring points All maximal equal size extents Left fully extend to the left in all dimensions Right fully 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]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
Use absolute sizes centered on the plot point:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
Use different sizes on either side of the plot point:
| In[1]:= |
| Out[1]= | ![]() |
Use fractions of the distance to neighboring points:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= | ![]() |
| In[4]:= |
| Out[4]= | ![]() |
ExtentSize->All uses the largest absolute size that will not cause overlapping regions:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
ExtentSize in 3D accepts
:
| In[1]:= |
| Out[1]= | ![]() |
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



















