-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBox_Plot.html
More file actions
99 lines (70 loc) · 7.87 KB
/
Copy pathBox_Plot.html
File metadata and controls
99 lines (70 loc) · 7.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<h1 class="firstHeading">6.10.1 Box Plot</h1><p class='urlname' style='display: none'>Box-Plot</p>
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1 tocsection-1"><a href="#Summary"><span class="tocnumber">1</span> <span class="toctext">Summary</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#What_you_will_learn"><span class="tocnumber">2</span> <span class="toctext">What you will learn</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Steps"><span class="tocnumber">3</span> <span class="toctext">Steps</span></a></li>
</ul>
</div>
<p><br />
</p>
<table class="simple" style="width: 80%">
<tr style="vertical-align: top;">
<td style="width: 40%"><a class="image"><img alt="Video Image.png" src="../images/Box_Plot/Video_Image.png?v=58041" width="33" /></a> <a class="image"><img alt="Video Text Image.png" src="../images/Box_Plot/Video_Text_Image.png?v=64565" width="135" /></a>
<ul><li> <a class="external text" href="https://www.originlab.com/videos/details.aspx?id=68" target="_blank">Box Plot</a></li>
<li> <a class="external text" href="https://www.originlab.com/videos/details.aspx?id=173" target="_blank">Box Plot Improvements in Origin 2017</a></li>
<li> <a class="external text" href="https://www.originlab.com/videos/details.aspx?id=201" target="_blank">Line Series Plots: A Box Chart Variation</a> </li></ul>
</td>
<td style="width: 40%"><a class="image"><img alt="Website blog icon circle.png" src="../images/Box_Plot/Website_blog_icon_circle.png?v=64566" width="31" /></a> <a class="image"><img alt="Blog Image 33x33px.png" src="../images/Box_Plot/Blog_Image_33x33px.png?v=64564" width="135" /></a>
<ul><li> <a class="external text" href="https://blog.originlab.com/creating-grouped-bar-plots-in-origin-2016" target="_blank">Easier Way to Control Grouped Bar Plot Colors in Origin 2016</a></li>
<li> <a class="external text" href="https://blog.originlab.com/how-to-plot-jitterchart-with-mean-and-error" target="_blank">Plot Jitter Chart with Mean and SE Bar in Origin</a></li>
<li> <a class="external text" href="https://blog.originlab.com/box-plot-with-histogram" target="_blank">Box Plot with Histogram</a></li></ul>
</td></tr></table>
<p><br />
</p>
<h2><a name="Summary"></a><span class="mw-headline">Summary</span></h2>
<p>This tutorial demonstrates how to create the following box plot with the data points and distribution curves both.
</p><p><a class="image"><img alt="Tutorial Box Plot 001.png" src="../images/Box_Plot/Tutorial_Box_Plot_001.png?v=60372" width="446" /></a>
</p>
<p class="version" >Minimum Origin Version Required: Origin 2015 SR0</p>
<h2><a name="What_you_will_learn"></a><span class="mw-headline">What you will learn</span></h2>
<p>This tutorial will show you how to:
</p>
<ul><li>Create a data overlapped box plot</li>
<li>Customize box plot settings</li>
<li>Change the layer background</li></ul>
<h2><a name="Steps"></a><span class="mw-headline">Steps</span></h2>
<p>This tutorial is associated with :<i><Origin EXE Folder>\Samples\Tutorial Data.opj</i>.
</p>
<ol>
<li>Open <b>Tutorial Data.opj</b> and browse to the <b>Box Plot</b> folder in <b>Project Explorer</b> (PE).
<li>Activate the first worksheet, select the January(Y), February(Y), and March(Y) columns and plot them as a Box Chart using <b>Plot > Statistical: Box Chart</b>.
<li>Click on the plot, and the Mini Toolbar pops-up. Click on <b>Box Type</b> button and select <b>Box[Right] + Data[Left]</b> in the list.
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 01-1.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_01-1.png?v=61844" width="421" /></a></dd></dl>
<li>Click on the <b>Border Color</b> button in the Mini Toolbar and select <b>Blue</b>.
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 01-2.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_01-2.png?v=61845" width="455" /></a></dd></dl>
<li>Click on the <b>Fill Color</b> and create a custom color as below:
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 01-3.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_01-3.png?v=61846" width="719" /></a></dd></dl>
<li> Double-click on one of the box charts to bring up the <b>Plot Details</b> dialog. The <b>Data</b> 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.
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 02.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_02.png?v=60373" width="700" /></a></dd></dl>
<li>Then, go to the <b>Distribution</b> tab to create a normal distribution curve.
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 02a.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_02a.png?v=61855" width="700" /></a></dd></dl>
<li>The next step is to customize the data symbols in the <b>Symbol</b> tab:
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 05.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_05.png?v=60377" width="700" /></a></dd></dl>
<li> The style of the Percentile points is also changed in the <b>Percentile</b> tab:
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 05b.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_05b.png?v=61849" width="700" /></a></dd></dl>
<li>The next step is to change the background color. In the same <b>Plot Details</b> dialog, select <b>Layer 1</b> in the left panel to activate the tabs of layer level. If the left panel is not expanded use the <a class="image"><img alt="Plot Details Expansion.png" src="../images/Box_Plot/Plot_Details_Expansion.png?v=25582" width="33" /></a> button on the bottom left of the dialog to expand it. In the <b>Background</b> tab, expand the <b>Color</b> option, click the vacant color under the <b>Custom</b> controls to open the <b>Colors</b> dialog. In the <b>Custom</b> tab of this dialog box, enter the <b>Red</b>, <b>Green</b> and <b>Blue</b> values to define your favorite color. Here, let us make the color(R:177, G:237, B:254). Click <b>OK</b> to accept the setting and close the dialog.
<li> Click on the Y Axis, and click on the <b>Axis Scale</b> button in the Mini Toolbar to open the dialog. In the <b>Axis Scale - Y</b> dialog, set the following axis scale specifications:
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 06.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_06.png?v=61850" width="699" /></a></dd></dl>
<li>Double click on the Title of Left Axis, and edit the title to <i>Discharge [ft\+(3)/sec]</i>:
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 06b.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_06b.png?v=61853" width="420" /></a></dd></dl>
<li>Click on the Y Axis, and click on the <b>Axis dialog</b> button in the Mini Toolbar, then select <b>Grid Lines...</b>. In the dialog, enable the <b>Major Grid Lines</b> and set their styles as below, and click <b>OK</b>.
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 07a.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_07a.png?v=61852" width="719" /></a></dd></dl>
<li>Double-click on the X Axis to open a <b>Axes</b> dialog box. On the <b>Title</b> tab, check the <b>Show</b> check box, and change the X axis title to <i>Month</i>
<dl><dd><a class="image"><img alt="Tutorial Box Plot New 06c.png" src="../images/Box_Plot/Tutorial_Box_Plot_New_06c.png?v=60381" width="627" /></a></dd></dl>
<li>Go to <b>Scale</b> tab, and select <b>Vertical</b>, under <b>Minor Ticks</b> section set <b>Count</b> =0.
Click <b>OK</b> to save the settings and close the dialog.
<li>Select <b>View: Show: Frame</b> menu to add the frame to this graph.
<li>The legend can be deleted if desired by selecting it and pressing the delete key.
<li>Right-click the layer and select <b>Add/Modify Layer Title</b> from the menu that appears. Enter the text <i><b>Water Discharge at Station 120011</b></i> in the edit box. Existing layer titles and axes titles can be modified by double clicking on them till the text cursor appears.
</ol>