JMP 14.2 联机文档
发现 JMP
使用 JMP
基本分析
基本绘图
刻画器指南
实验设计指南
拟合线性模型
预测和专业建模
多元方法
质量和过程方法
可靠性和生存方法
消费者研究
Scripting Guide
JSL Syntax Reference
该帮助的版本不再更新,请参见
https://www.jmp.com/support/help/zh-cn/15.2
获取最新的版本.
JSL Syntax Reference
•
JSL Messages
•
Display Boxes
• String Col Boxes
上一个
•
下一个
String Col Boxes
string col box<<Add Element(item)
Adds the item to the String Col Box. Item can be a single quoted string, a list of quoted strings, or a matrix of quoted strings.
string col box<<Get
string col box<<Get(i)
Gets the values in a list, or the
i
th value.
string col box<<Get Heading
Returns the column heading text.
string col box<<Remove Element(row number)
Removes an element from the column at the specified position.
string col box<<Set Allow Text Search
Description
In table boxes with selectable rows, allows a string column that has focus to respond to keyboard input to change the selected row.
Example
// Run the example.
// Select K2.
// Type the letter g. Notice the last row is selected.
// Type the letters ki. Notice the third row is selected.
New Window
(
"Mountains"
,
tb =
Table Box
(
sb =
String Col Box
(
"Mountain"
,
{
"K2"
,
"Delphi"
,
"Kilimanjaro"
,
"Grand Teton"
}
),
Number Col Box
(
"Elevation (meters)"
,
{
8611
,
681
,
5895
,
4199
}
),
Plot Col Box
(
""
, {
8611
,
681
,
5895
,
4199
} )
)
);
tb <<
Set Selectable Rows
(
1
);
sb <<
Set Allow Text Search
(
1
);
string col box<<Set Heading("text")
Changes the column heading
text
.
string col box<<Set Justify(
"right"|"left" |"center"
)
Specifies the alignment of the contents in the string col box to right, left, or center.