|
SOLUTIONS
|
Mathematica
>
Visualization and Graphics
>
Charting and Information Visualization
>
Chart Styling & Layout
>
BarSpacing
BUILT-IN MATHEMATICA SYMBOL
BarSpacing
BarSpacing
is an option to BarChart and related functions that controls the spacing between bars and groups of bars.
DetailsDetails
- The following settings can be given for BarSpacing:
-
Automatic automatically determine spacing None use no spacing between bars Tiny,Small,Medium,Large use preset automatic spacings s use explicit spacing s between bars {sb,sg} use
between individual bars and
between groups - In BarChart and BarChart3D the spacing s is in fractions of the width of a bar.
- In RectangleChart and RectangleChart3D the spacing s is in ordinary coordinates.
ExamplesExamplesopen allclose all
Basic Examples (6)Basic Examples (6)
Use automatically determined spacing between bars:
| In[1]:= |
| Out[1]= | ![]() |
| In[1]:= |
| Out[1]= | ![]() |
| In[1]:= |
| Out[1]= | ![]() |
Use explicit spacing between bars:
| In[1]:= |
| Out[1]= | ![]() |
Use explicit spacing between bars and groups of bars:
| In[1]:= |
| Out[1]= | ![]() |
Position bars within a group with the bars separated by a width of 0.5 and no space between groups:
| In[1]:= |
| Out[1]= | ![]() |
New in 7
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »






