2.10.25 plot_vari


Menu Information

Plot: Statistical: Variability Chart

Brief Information

Create a Multi-Vari Chart

Additional Information

Minimum Origin Version Required: Origin 2025

Command Line Usage

plot_vari -r 2 irng:=[Book3]Sheet1!E"City mpg" factor:=[Book3]Sheet1!(C"Identification.Classification",D"Identification.Year") trmean.f1:=1 trmean.f2:=1 gmean:=0 sd:=1 trsdmean.f1:=1 trsdmean.f2:=1 points:=0;

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 input data column.
Factors factor

Input

Range

<unassigned>
Specify multiple factors in order.
Connect Cell Mean cell

Input

int

1
Specify whether connects the mean values of the last factor.

Option list:

  • 0=false
  • 1=true
Show Mean Lines for Factors trmean

Input

TreeNode

Specify whether shows mean lines for factors.
Show Grand Mean Line gmean

Input

int

1
Specify whether shows the grand mean line in the chart.

Option list:

  • 0=false
  • 1=true
Show Grand Median Line gmedian

Input

int

0
Specify whether shows the grand median line in the chart.

Option list:

  • 0=false
  • 1=true
Show Standard Deviation Chart sd

Input

int

0
Specify whether show SD chart under the variability chart.

Option list:

  • 0=false
  • 1=true
Show Mean of SD sdgmean

Input

int

1
Specify whether show the mean of the standard deviation values of the last factor.

Option list:

  • 0=false
  • 1=true
Show Mean Lines for Factors trsdmean

Input

TreeNode

Specify whether shows mean lines for factors on the SD chart.
Show Individual Data Points points

Input

int

1
Specify whether show the individual data points instead of only showing the whisker lines.

Option list:

  • 0=false
  • 1=true
Show Box box

Input

int

0
Specify whether show box plot for each group.

Option list:

  • 0=false
  • 1=true
Show Range Line rline

Input

int

1
Specify whether show range whisker line for each group.

Option list:

  • 0=false
  • 1=true
Template template

Input

string

variability
Specify the graph template to create this plot. variability.optu is the default template that is installed to the Origin program folder.

0=...File:[Graph Template (*.otpu )] *.otpu
1=[Graph Template(*.otp)]*.otp

ReportData rd

Output

ReportData

[<input>]<new>
Specify where to output result table.

Details of Show Mean Lines for Factors TreeNode

TreeNode Details:

The trmean tree specifies whether shows mean lines for factors. In the mean time, the trsdmean tree specifies whether shows mean lines for factors in the SD chart.

Syntax:

  • trmean.Treenode:=<value>
  • trsdmean.Treenode:=<value>


Example:

  • trmean.f1:=1
  • trsdmean.f2:=1
Treenode Label Type Default Description
f1

(from f1 to f10)

factor name int 0 Specifies whether shows mean lines for this factors.

Option list:

  • 0=false
  • 1=true

Description

This X-Function allows you to create a Variability Chart with up to 4 factor. Please refer to Variability Chart for more details.