2.10.25 plotgboxraw
Menu Information
Plot: Statistics: Grouped Box Charts - Raw Data
Brief Information
Create box chart from multiple columns of data
Additional Information
Minimum Origin Version Required: 9.1 SR0
Command Line Usage
plotgboxraw irng:=[Book1]Sheet1!2:9 num:=3 g1:=Comments g2:="Long Name" g3:=UserPara sort:=1 theme:="Box_Whisker without Cap";
//Input range is through column 2 to 9, with three grouping variables, the first is the Comments, second is Long Name, the last is a user defined parameter named as UserPara,
//Data sorted by group label before plotting, the built-in theme Box_Whisker without Cap is applied.
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 range.
|
Group Number
|
num
|
Input
int
|
1
|
Specify the number of grouping variable(s). It can be 0, which indicates no grouping, or an integer up to 5.
|
1st Group Row
|
g1
|
Input
string
|
<unassigned>
|
Select from the list of column label rows to determine the 1st grouping variable.
|
2nd Group Row
|
g2
|
Input
string
|
<unassigned>
|
Select from the list of column label rows to determine the 2nd grouping variable.
|
3rd Group Row
|
g3
|
Input
string
|
<unassigned>
|
Select from the list of column label rows to determine the 3rd grouping variable.
|
4th Group Row
|
g4
|
Input
string
|
<unassigned>
|
Select from the list of column label rows to determine the 4th grouping variable.
|
5th Group Row
|
g5
|
Input
string
|
<unassigned>
|
Select from the list of column label rows to determine the 5th grouping variable.
|
Sort by Group Labels
|
sort
|
Input
int
|
1
|
Order plots by ascending order of group labels, performing a nested sort by order of the grouping rows. 1=true, 0=false. Does not reorder worksheet columns.
|
Graph Theme
|
theme
|
Input
string
|
<unassigned>
|
Specify a built-in graph theme (e.g.theme:="Box_Column Scatter") If spaces in the name, must use quotes:
"Box_Column Scatter", "Box_Connect Mean Line", "Box_Dashed Whisker Thick Median", "Box_Data in Line", "Box_Filled Diamond", Box_HalfBox, Box_HalfViolin, Box_I-shaped, "Box_Independent Line Colors", "Box_Interval Plot", "Box_Mean Bar with SE", Box_Violin, "Box_Whisker without Cap"
|
Description
This X-Function creates a grouped box chart from raw data. You can specify the input data range and grouping variables, also apply a built-in graph theme for box chart.
Examples
You may refer to this mini tutorial as an example of how to create a grouped box plot from raw data by using dialog controls.
In order to get the data plotted by script, you can run the following command after you activate Book3G in the Statistical and Specialized Graphs sample project:
plotgboxraw irng:=[Book3G]"MG.AN"!2:13 num:=3 g1:=Machine g2:=Comments g3:="Long Name" theme:="Box_Dashed Whisker Thick Median";
Related X-Functions
legendbox
|