6.10.1 Box PlotBox-Plot
Summary
This tutorial demonstrates how to create the following box plot with the data points and distribution curves both.
Minimum Origin Version Required: Origin 2015 SR0
What you will learn
This tutorial will show you how to:
- Create a data overlapped box plot
- Customize box plot settings
- Change the layer background
Steps
This tutorial is associated with :<Origin EXE Folder>\Samples\Tutorial Data.opj.
- Open Tutorial Data.opj and browse to the Box Plot folder in Project Explorer (PE).
- Activate the first worksheet, select the January(Y), February(Y), and March(Y) columns and plot them as a Box Chart using Plot > Statistical: Box Chart.
- Double-click on one of the box charts to bring up the Plot Details dialog. In the Box Tab, set as shown below to enable the data plot to the left of box:

- The Data tab shows up because data plot is also included in the plot. In this tab, change the settings as shown below to change the binning options.

- Then, go to the Distribution tab to create a normal distribution curve.

- In the Pattern tab adjust the settings as shown below. To create a custom color, expand the Color option, click the vacant color under the Custom controls to open the Colors dialog. In the Custom tab of this dialog box, enter the Red, Green and Blue values to define your favorite color as below:

- In the Lines Tab set the line style for Whisker. The style of caps is set to "Auto" so it follows the Whisker style, and the style for Median Line and Distribution Curve follows the box style set in the Pattern tab:

- The next step is to customize the data symbols in the Symbol tab:

- The style of the Percentile points is also changed in the Percentile tab:

- The next step is to change the background color. In the same Plot Details dialog, select Layer 1 in the left panel to activate the tabs of layer level. If the left panel is not expanded use the
button on the bottom left of the dialog to expand it. In the Background tab, expand the Color option, click the vacant color under the Custom controls to open the Colors dialog. In the Custom tab of this dialog box, enter the Red, Green and Blue values to define your favorite color. Here, let us make the color(R:177, G:237, B:254). Click OK to accept the setting and close the dialog.
- In order to customize the axes, double-click on the Y Axis to open a Axes dialog box and on the Scale tab, set the following axis scale specifications:

- Go to the Title tab, select Left' icon in the left panel, change the Y axis title to Discharge [ft\+(3)/sec]:

- On the Title tab, choose Bottom icon in the left panel. Then check the Show check box, and change the X axis title to Month

- Open the Grids tab, select Horizontal icon in the left panel, enable the Major Grid Lines and set their styles as below:

- Click OK to save the settings and close the dialog. Select View: Show: Frame menu to add the frame to this graph.
- The legend can be deleted if desired by selecting it and pressing the delete key.
- Right-click the layer and select Add/Modify Layer Title from the menu that appears. Enter the text Water Discharge at Station 120011 in the edit box. Existing layer titles and axes titles can be modified by double clicking on them till the text cursor appears.
|