2.10.7 plot_gdot


Menu Information

Plot: Categorical: Grouped Dot Plots
or
Plot: Categorical: Grouped Stacked Dot Plots

Brief Information

Create grouped dot plots with/without stacking

Additional Information

Minimum Origin Version Required: Origin 2025

Command Line Usage

plot_gdot -r 1 group:=[Book2]Sheet1!(A,B) stack:=allgrp ptsmange:=density;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input irng

Input

Range

<active>
Specify the source Y data column for counting. It supports multiple columns.
Group fakegroup

Input

int

0
Specify the grouping column(s)
group

Input

Range

<unassigned>
Specify the grouping column(s)
Plot Order order

Input

int

0
Specify how to sort the data in Output sheet and plot grouped dot plots when there are multiple Input columns.

Option list:

  • 0=plotfirst: Input Variables First
  • 1=grpfirst: Group Info First
Stack stack

Input

int

4
Specify whether stack the dot plots and how to stack them in each group.

Option list:

  • 0=all:All
  • 1=ivar:Input Variables
  • 2=lastgrp:Last Group
  • 3=allgrp:All Groups
  • 4=none:None
Arrange Points ptsmange

Input

int

0
Specify how to arrange the dots

Option list:

  • 0=histogram:Histogram

Just like a histogram plot, but show number of points instead of bars. It will split the data by bins, count the points in each bin, and then plot symbols from base line according to the count.

  • 1=density:Density

The point will be arranged as that in a column scatter, but the points will be aligned to base line of each plot. Actually there is no bin for data, the data arrangement relate to size of data point.

Horizontal Margin hmargin

Input

int

5
Specify the horizontal margin to fit page to layer, for making the tick labels show well especially when there are multiple table rows on Y axis.
Worksheet ow

Output

Worksheet

<new>
Output the unstacked input columns using specified grouping column(s).
template template

Input

string

<auto>
0=...File:[Graph Template (*.otpu )] *.otpu, 1=[Graph Template(*.otp)]*.otp

Description

This X-Function allows you to create a Dot Plot with groups. And you can control the graph whether stack the dot plots. Please refer to Creating Dot Plot for more details.