...
The Sample OPJ includes 6 sample graphs (4 in "1. Grouped Box Plot and Axis Ticks Table" folder, and 1 for both
"2. Box Plot Position By Variables" and "3. Box Width By Variable" folders) to show the remarkable improvements
in box chart
Grouped Box Plot with Color-indexed Data Points
How to plot the basic form of the grouped box plot:
- Active the workbook in the folder, highlight column E through column J, select "Plot: Statistics: Grouped Box Charts - Raw Data" from Origin menu
- In the opened dialog, apply the settings as image below and click OK button to create a graph
...
- Highlight the rows for A386 of "CC.MI" sheet
- Type script below in the Script Window and press Enter. (If Script Window is not opened yet, open it from menu, Window: Script Window)
colstats; - Set the sheet name as A386_CC.MI
- Do the same to have C334_CC.MI sheet
How to customize to make Graph1
Graph1 illustrate 3 improvements of the Box Chart in 9.1
...
Now, we are going to add a legend to explain thescatter points
1> Delete the legend
2> Select Graph: Add/Update Lgend Entries: Categorical Values from the Origin menu to add new legend to the graph.
3> Double click on the legend to be in edit mode, update the text as below
%(1,m1,1)
%(1,m2,1)
How to customize to make Graph2
Graph2 illustrate 3 improvements of the Box Chart in 9.1
...
5> Choose Grids in the left panel.
* Major Grid Lines branch
* > Select Show check box, * > Color = Black
* Minor Grid Lines branch
* > Select Show check box, * > Style = Solid, * > Color = LT Gray
6> Choose "Y Axis>Scale" in the left panel, in the Scale page
* From = -2500, * To = 20000, * Major Ticks branch, * Value = 5000
7> Choose "Y Axis>Grids" in the left panel, in the Grids page
* Major Grid Lines branch
* > Select Show check box, * > Color = LT Gray
8> Choose "Y Axis>Tick Labels>Left" in the left panel. In the Left page
* Display branch= , * Display = Scientific: 10^3
9> Click OK to apply the settings and close dialog
How to customize to make Graph3
Grouped Box Plot
=================================================
Graph3 illustrate 4 improvements of the Box Chart in 9.1
1) I-shape box
-->Plot Details dialog, Box tab
2) Separated control of Whiskers
--> Plot Details dialog, Lines tab
3) Grouped Box plot
-->Plot Details dialog, Group tab
4) Table option for the tick labels.
-->Axis dialog, Tick Labels>Bottom/Top Node, Table check box
------------------------------------------
To create similar graph of Graph3
------------------------------------------
Graph3 illustrate 4 improvements of the Box Chart in 9.1
1) I-shape box -->Plot Details dialog, Box tab
2) Separated control of Whiskers --> Plot Details dialog, Lines tab
3) Grouped Box plot -->Plot Details dialog, Group tab
4) Table option for the tick labels. -->Axis dialog, Tick Labels>Bottom/Top Node, Table check box
1> Active the worksheet Book3 in the folder, highlight column C through column N, select "Plot: Statistics: Grouped Box Charts - Raw Data" from Origin menu
2> In the opened dialog, apply the settings as below and click OK button to create a graph
* Group Number = 3, * 1st Group Row = Machine, * 2nd Group Row = Comments, * 3rd Group Row = Long Name, * Graph Theme = Box_I-shaped
Then we are going to customize the box plots
1> Double click on the plot to open the Plot Details dialog
2> Select Group tab, apply settings as below
* Subgrouping group
* >Subgroup size = 2
* Border Color>Details = (1: Red, 2: Navy) , * Box Color>Increment = By One , * Box Color>Details = (1: Red, 2: Navy)
3> Select Spacing tab, apply settings as below
* Gap Between Subgroups (in %) = 0
4>Select Lines tab, apply settings as below
* Whisker group, Style = Dash , * Caps Length = 50 , * Caps Style = Solid
5> Click OK button to apply the settings and close dialog
Then we are going to customize the axis and tick labels
1> Double click on the bottom axis to open the Axis dialog.
2> Go to the X Axis>Tick Labels>Bottom1 node in the left panel.
* > Right-click to select Move to Opposite from the context menu.
3> Choose Bottom 1 in the left panel
* Table branch
* > Select Independent Formats check box
* Table Layout branch
* > Fill Color = LT Gray , * > Select Independent Layout check box
4> Choose Bottom 2 in the left panel
* Format branch
*> Size = 14
* Table Layout branch
* > Fill Color = LT Gray
5> Choose Top in the left panel
* Display branch
*> Type = Column Name or Label , *> Display = Machine
* Table Layout branch
* > Fill Color = LT Gray
6> Click OK to apply the settings
7> Choose Grids in the left panel, in the Grids page
* Major Grid Lines branch
* > Select Show check box , * > Color = Gray
* Minor Grid Lines branch
* >Select Show check box , * >Color = LT Gray , * > Style = Dash
8> Click OK to apply the settings and close dialog
Grouped Box Plot with Color-indexed Data Points