2.10.22 plot_prob
Menu Information
Plot > Statistical: Probability Plot
Plot > Statistical: Q-Q Plot
Brief Information
Create probability or Q-Q plot using specified distribution, with or without grouping.
Additional Information
Minimum Origin Version Required: 8.1 SR0
Command Line Usage
1. plot_prob -r 1 irng:=[QQplot1]"Q-Q plot"!B"Weight" method:=renard;
2. plot_prob irng:=[ProbPlot]Sheetl!A distr:=weibull;
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 Data
|
irng
|
Input
Range
|
<active>
|
Specify the input variable(s) to plot.
|
|
|
option
|
Input
int
|
<unassigned>
|
This variable is not used for user.
|
| Group
|
group
|
Input
Range
|
<unassigned>
|
Select the grouping column(s) to seperate the input variable(s) into different plots.
|
| Arrange Plots
|
overlay
|
Input
int
|
0
|
Specify how to arrange the plots in different varaibles and groups:
Option list:
- 0=all:Overlay All: Selected by default. All groups and variables in same layer.
- 1=groups:Overlay Groups, Variables in Different Layers: Different groups overlay in same layer; different variables in different layers
- 2=vars:Overlay Variables, Groups in Different Layers: Different variables overlay in same layer; different groups in different layers
|
| Distribution
|
distr
|
Input
int
|
0
|
Specify a distribution type. Option List:
- 0:Normal
- 1:Lognormal
- 2:Exponential
- 3:Weibull
- 4:Gamma
|
| Estimate from Data
|
estimate
|
Input
int
|
1
|
Specify whether to estimate distribution parameters from input data. If not, parameters can be specified manually. Default is checked.
|
| Location
|
location
|
Input
double
|
0
|
mu: Mean of the normal distribution.
shape: Shape of the specified distribution. Available in both Lognormal, Weibull and Gamma distributions.
scale
|
| Scale
|
scale
|
Input
double
|
0
|
sigma: Standard deviation of Normal distribution.
Scale: Scale of the specified distribution. Available in Lognormal, Exponential, Weibull and Gamma distributions.
|
| Score Method
|
method
|
Input
int
|
0
|
Select a method for plotting percentile approximations. Option List:
- 0:Blom
- 1:Benard
- 2:Hazen
- 3:Van der Waerden
- 4:Kaplan-Meier
|
| Confidence Band
|
conf
|
Input
int
|
1
|
Specify whether to output the confidence band in probability plot. Default is checked.
|
| Confidence Level(%)
|
level
|
Input
double
|
95
|
Only available when conf is selected. Specify the confidence level in % for the chosen distribution.
|
| Exchange X-Y Axes
|
exchange
|
Input
int
|
0
|
Specify whether to switch X and Y axis positions.
|
| X Minimum
|
xmin
|
Input
double
|
1
|
For information on calculation of Auto value, see the Origin Help File.
|
| X Maximum
|
xmax
|
Input
double
|
99.5
|
For information on calculation of Auto value, see the Origin Help File.
|
| Output Range
|
rd
|
Output
ReportData
|
[<input>]<new>
|
Specify where the calculated data for the graph is stored.
|
Description
For detailed information about this X-Function, please refer to our User Guide Probability Plot and Q-Q Plot
-
- Distributions
- Details for Constructing Probability Plot
- Details for Constructing Q-Q Plot
- Score Methods
Note: in Origin 2017 or ealier versions, this X-Function is not accessible from LabTalk script. To plot PP plot/QQ plot from script, you will need to use
worksheet -px
For example,
//to plot a probability plot
worksheet -px ? PPNormal plot_prob option:=0;
//to plot a Q-Q plot
worksheet -px ? QQ plot_prob option:=1;
Keywords:normal, lognormal, exponential, weibull, gamma
|