BoxExtraSpacing


is an option for BoxWhiskerPlot that specifies spacing adjustments to be applied when plotting multiple boxes.

DetailsDetails

  • To use , you first need to load the Statistical Plots Package using Needs["StatisticalPlots`"].
  • Valid settings are non-negative numbers or a list of non-negative numbers. The default setting is .
  • A setting of is equivalent to the space used for a single box.
  • specifies that successive spacings should be used cyclically for successive plots.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

A default box and whisker plot for two datasets:

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

Add an additional box width between the plots:

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

Specify different spacings between plots:

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