# 9.6.7 The (Plot Details) Distribution Tab

 Distribution tab for Box plot and Violin plot Distribution tab for Histogram plot or Column Scatter plot ## Curve Type

Overlay a distribution curve on the binned data or histogram by selecting Normal, Lognormal, Weibull, Exponential, Gamma, Laplace, Lorentz, Kernel Smooth, Poisson or Binomial from the Type drop-down list. The Preview window displays your selection.

Curves selected from the Type drop-down list are not "fitted" to your data. Instead, Origin determines the data mean, then overlays the curve so that means coincide. If it is a two parameter curve, Origin takes into account the standard deviation of your data.

When you plot the Violin Plot, Kernel Smooth is selected as Curve Type by default. And these following options will be shown in the dialog.

 Bandwidth : $0.9* A * n^{-\frac{1}{5}}$ where n is number of point and A is $\min(std(X), \ IQR/1.349)$, and IQR is the interquartile range of X It is the same as the kernelwidth function in Origin : $1.059 * A * n^{-\frac{1}{5}}$ Enter a number n in this ombination box: $n* SD$ Extend the density vertically in units of bandwidth size. The end points are -/+ Extend/100*bandwidth* {mix(X) or max(X)}

## Distribution Curve Next to Box

When select these options in Box tab, Box(Right) + Data(Left), Box(Left) + Data(Right), Half Box(Right) + Data(Left) or Half Box(Left + Data(Right) to show both Box and Data but without overlap, this option is available (violin plot only).

Specify whether to show the distribution curve next to Box plot.

## Show Symmetric Distribution Curve

Specify whether to show the symmetric distribution curve.

When show the symmetric distribution curve, it is similar as as plotting Violin Plot.

## Scale

The method used to scale the width of each violin.

 Count The width of the violins will be scaled by the number of observations in that bin Each violin will have the same width. Each violin will have the same area

## Scale to Maximum(%)

Check the Scale to Maximum(%) check box to control the amplitude of the distribution curve. For example, if you set 200, the amplitude of the curve would be doubled compared to the Maximum value of histogram. The distribution curve is normalized when the option is selected.

Note: In addition to selecting values from the drop-down list, you can also manually enter a value in the box.

## Inner Split by (2 Levels Only)

Available only when Show Symmetric Distribution Curve is selected.

In this list the columns in the same worksheet. Select a column with two levels, then it will draw half of a violin for each level. This can make it easier to directly compare the distributions.

To fill different color for two levels inner of the distribution curve, select the same column as Index in Fill: By Point option.

It is similar as plotting Split Violin graph.

### Scale within Plot/Panel

Available only when Inner Split by (2 Levels Only) is selected.

By default, this option is uncheck. It means scale across all plots in this plots group. When there are multiple plots in the graph, and each plot is splitted to left and right two levels. Then the scaling width is computed across each level in all violin plots.

Checking this option means the scaling is just computed inner the two levels on a violin plot.

## Style

Select the style for the distribution curves from this drop-down list.

## Width

Select or type the width for the distribution curves in this combination box. The line width is measured in points, where 1 point=1/72 inch.

## Color

Specify the distribution curves color. When Auto is selected, Origin uses a darker version of the Fill Color of histogram plot for the distribution curve. If plot fill color is set to None or Auto, it follow border color.

## Fill

Available only when Show Symmetric Distribution Curve is selected.

Specify the inner color of the distribution curves.

## Fill Transparency

This controls fill area transparency. Move the slider or enter an integer from 0 to 100 in the combination box. Note that 0 means the symbol is not transparent at all, and 100 means the symbol is fully transparent.

When Follow Line Transparency is checked, the transparency of the fill area will be the same as that of the Transparency option in Lines tab. For Violin Plots, Auto (default) follows the transparency settings on the Pattern tab.