BarSpacing

BarSpacing
is an option to BarChart and related functions that controls the spacing between bars and groups of bars.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (6)Basic Examples (6)

Use automatically determined spacing between bars:

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

Use no spacing:

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

Use symbolic presets:

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

Use explicit spacing between bars:

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

Use explicit spacing between bars and groups of bars:

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

Position bars within a group with the bars separated by a width of 0.5 and no space between groups:

In[1]:=
Click for copyable input
Out[1]=
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »