OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                     
 
Skip Navigation Links
All BooksExpand All Books
Origin HelpExpand Origin Help
Appendix 2 - Graph TypesExpand Appendix 2 - Graph Types
Statistics GraphsExpand Statistics Graphs

27.8.6 Grouped Box Charts-Indexed Data

Grouped Box Charts-Indexed Data.png

Data Requirements

The input data should be from worksheet column(s), and it is also required to have at least one different data range as grouped column(s).

Creating the Graph

Select required data.

From the menu, select Plot > 2D: Group Plot: Grouped Box Charts - Indexed Data.

or

Click the Grouped Box Charts - Indexed Data button Button Grouped Boxes-Indexed Data.png on the 2D Graphs toolbar.

In the dialog that opens, select the group range and graph theme to create the grouped box chart.

Please see more details on creating and customizing box charts in the Creating Box Charts page.


The plot_gboxindexed Dialog Box

Plot gboxindexed dialog box.png

Data Column(s) This branch is used to specify the input data.
Group Column(s) This part includes a display box and a toolbar with five buttons Group List Toolbar.png:
  • Display Box
    The selected group range(s) will display in this box. To plot, you must select something other than <none>. The sequence of data ranges determines the grouping order, with the first range supplying the primary groups, the second range supplying the secondary groups within the primary groups, and so forth.
  • Add button Button Group List Add.png
    Click this button then choose a column from menu; or click Select Columns to open the Column Browser and add column(s) to the Display Box as grouping range(s). You can add up to 5 grouping ranges.
  • Remove button Button Group List Remove.png
    Remove the selected data range(s) from the Display Box. This button is available when you select one or more data ranges in the Group Column(s) box.
  • Move Up button Button Group List Move Up.png
    Move the selected data range(s) up in the Display Box. This changes the grouping sequence.
  • Move Down button Button Group List Move Down.png
    Move the selected data range(s) down in the Display Box. This changes the grouping sequence.
  • Select All button Button Group List Select All.png
    Select all data range(s) down in the Group Column(s).
Graph Theme Choose from a list of built-in graph theme for the grouped box plot
Output Data Specify where to output the calculated data.

In addition, you can preview the final graph in this dialog.

Note: The recalculate option in this dialog is set to Auto by default.

Example

  1. Create a new workbook
  2. Click the Button Import Single ASCII.png button to import the Categorical Data.dat file under <Origin EXE Folder>\Samples\Graphing path.
  3. Hight Col(C) and Col(D), and check on the "Set as Categorical" in Main Menu: Column
  4. double click the "Unsorted" in Categories Row to open the Categories dialog (the same as The Categories Tab ) and sort the Col(C) and Col(D) ascending.
    Unsorted.png
  5. Highlight column B and select Plot: Statistics: Grouped Box Charts - Indexed Data from top menu to open the plot_gboxindexed dialog.
  6. In the Group Column(s) section, click the triangle button at the top right corner and select Col(C) and Col(D) in sequence.
  7. Select Box_Filled Diamond for Graph Theme.
  8. Make sure the Output Data is set to <new> so that the calculated data will be output to a new worksheet.
  9. Click OK to create the plot.
    Grouped Box Indexed Data EX.png

Template

gBox.otp (installed to the EXE folder of Origin)

Notes

  • If there are more than 1 grouping range, the X axis tick label will be by default displayed as tables, you can control this format in the Table tree node in the Tick Labels page of the Axis dialog.
  • By default Subgrouping will be turned on based on the calculation from grouping range, and you can control the gap between or within subgroups separately in the Spacing tab.
  • You can create/customize the legend specified for box chart components by selecting Graph:Legend:Box Chart Components... menu items when the box chart graph is active.
  • It is also possible to create grouped box chart from raw data.
  • If you select Box_Column Scatter as Graph Theme, you can create a grouped column scatter plot.
  • If you select Box_Connect Mean Line as Graph Theme, you can create a grouped box chart with a connect mean line.
  • If you select Box_Interval Plot as Graph Theme, you can create a grouped interval plot.
  • If you select Box_Mean Bar with SE as Graph Theme, you can create a statistical bar plot with SE error bar.
 

© OriginLab Corporation. All rights reserved.