31.10.1 Grouped Scatter

Contents

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,


Or

The plot_gscatter will be opened:

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 .
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 Data by
    • When Multiple Data is not set to Separate Graphs, this control will show. You can choose a column label row to split multiple data into different data groups.
  • Multiple Data Groups
    • When any column label row has been selected for Split Data by, you can choose how to arrange the data groups: Separate Layers or Separate Graphs.
  • Horizontal Panels by: Once this check box has been checked, you can select another grouping column to enable which show a grouped scatter plot for each grouping value seperately.
    If Vertical Panels by is not checked, 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.
  • Vertical Panels by: Once this check box has been checked, you can select another grouping column to enable which show a grouped scatter plot for each grouping value seperately.
    If Horizontal Panels by is not checked, 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 To Specify where to output the graph(s), as separate graph window(s) or embed within the report sheet.
Output Data Specify where to .
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 .

Template

SCATTER.OPTU (installed to the Origin EXE folder)

Notes

Version Information

Minimum Version: Origin 2019b Last Update: Origin 2026