Plot: Statistical: Variability Chart
Create a Multi-Vari Chart
Minimum Origin Version Required: Origin 2025
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;
Please refer to the page for additional option switches when accessing the x-function from script
| Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
|---|---|---|---|---|
| Input | irng |
Input Range |
Specify the input data column. | |
| Factors | factor |
Input Range |
Specify multiple factors in order. | |
| Connect Cell Mean | cell |
Input int |
Specify whether connects the mean values of the last factor.
Option list:
| |
| Show Mean Lines for Factors | trmean |
Input TreeNode |
Specify whether shows mean lines for factors. | |
| Show Grand Mean Line | gmean |
Input int |
Specify whether shows the grand mean line in the chart.
Option list:
| |
| Show Grand Median Line | gmedian |
Input int |
Specify whether shows the grand median line in the chart.
Option list:
| |
| Show Standard Deviation Chart | sd |
Input int |
Specify whether show SD chart under the variability chart.
Option list:
| |
| Show Mean of SD | sdgmean |
Input int |
Specify whether show the mean of the standard deviation values of the last factor.
Option list:
| |
| 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 |
Specify whether show the individual data points instead of only showing the whisker lines.
Option list:
| |
| Show Box | box |
Input int |
Specify whether show box plot for each group.
Option list:
| |
| Show Range Line | rline |
Input int |
Specify whether show range whisker line for each group.
Option list:
| |
| Template | template |
Input string |
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
| |
| ReportData | rd |
Output ReportData |
|
Specify where to output result table. |
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:
Example:
| Treenode | Label | Type | Default | Description |
|---|---|---|---|---|
| f1
(from f1 to f10) |
factor name | int | 0 | Specifies whether shows mean lines for this factors.
Option list:
|
This X-Function allows you to create a Variability Chart with up to 4 factor. Please refer to Variability Chart for more details.