29.10.1 Grouped Scatter

Grouped Scatter Indexed Data.png

Data Requirements

Requires at least one Y column as input data. In addition, one or more column(s) provide grouping information.

Creating the Graph

Select required data,

  • Select Plot > Categorical: Grouped Scatter... menu


Or

  • Click the Button Grouped Scatter-Indexed Data.png button in the 2D Graphs toolbar
    Grouped Scatter Index Data Button From Toolbar.png

The plot_gscatter will be opened:

Plot grouped scatter dialog box.png

You can select the input data range, add at least one group column, select columns to split page/panel optionally, add fitting curve optionally and determine where to put the plot data and graphs. Click Preview, or OK to create your plot and close the dialog.

The "plot_gscatter" dialog box

Data Column(s) This branch is used to specify the input data.
Group Column(s) Choose the categorical column(s) as grouping column(s)
Graph Arrangement
  • Multiple Data :Choose how to arrange the multiple input data.
    • Overlay on Same Graph: Plot the seleted input data as overlapping plots on the same graph layer.
    • Seperate Layers on Same Graph:Plot the seleted input data into seperate layers on the same graph layer.
    • Seperate Graphs:Plot the seleted input data on the seperate graph windows.
  • Split Panels by: Once this check box has been checked, you can select another grouping column to enable horizontal panels which show a grouped column plot for each grouping value seperately. Wrap Panels will be enabled, ticks and labels will be shown on alternate sides by default. When there are multiple columns selected, only one panel info label row will be shown on top, panel banner string will include all factors and separated by comma.
  • Split Pages by: Once this check box has been checked, you can select other grouping column(s) to split the input data and created grouped columns in different graph pages. Each page only plots the columns within the same page related group. Page related group info will be shown in layer title, separated by comma if there are multiple factors. Report graph sheet will list all pages.
Share X/Share Y Check the check to share X/Y scale between the graphs and layers.
Plot Type Specify the plot type, scatter, line or line+symbol.
Stack Specify whether to stack the columns/bars when multiple input variables overlay in same graph. You can choose Side by Side, Stacked or 100% Stacked. This option is not avaiable for Plot Type being Scatter.
Graph Template Specify a user template if needed. By default, the Auto check box is checked and the built-in template GBOX is used.
Fitting This branch is used to create fitted curves or bands with reference lines. Only polynomial fit is aviliable here.
  • Polynomial Order: Specify the order of the polunomial function.
  • Label: Specify the label for the fitted curves. There are four choices: Equation, Pearson's R and R-Square (COD).
  • Confidence Bands: Specify whether show confidence band onto the graph.
  • Prediction Bands: Specify whether show prediction band onto the graph.
  • Confidence Ellipse (Mean): Specify whether show confidence ellipse based on Mean onto the graph.
  • Confidence Ellipse (Prediction): Specify whether show confidence ellipse based on Prediction onto the graph.
Output Data Specify where to output the calculated data.
Output Graphs Specify which sheet the result graphs is output to.
Note: The grouping range will be sorted with default alphabetical order. If this is not acceptable , select the worksheet column, right Click and Set as Categorical. Then, you can modify list order on the Categories tab.

Template

SCATTER.OPTU (installed to the Origin EXE folder)

Notes

  • When Share Y is selected, multiple layers in same graph only show Y axis in same row for left layer; when Share X is selected, multiple layers in same graph should only show bottom X axis in same column for bottom layer.
  • When there is multiple panels in same graph for multiple input data, if there is a column selected for Split Panels by option, it will arrange each variable in different row, each panel factor combination in different column. When there is only variable or only panel factors, it will wrap the layers by ceil(sqrt(N)), N is number of layers.