JMP 14.2 联机文档
发现 JMP
使用 JMP
基本分析
基本绘图
刻画器指南
实验设计指南
拟合线性模型
预测和专业建模
多元方法
质量和过程方法
可靠性和生存方法
消费者研究
Scripting Guide
JSL Syntax Reference
该帮助的版本不再更新,请参见
https://www.jmp.com/support/help/zh-cn/15.2
获取最新的版本.
Scripting Guide
•
Scripting Graphs
•
Add Lines, Arrows, Points, Shapes, and Text
• Add Fill Patterns
上一个
•
下一个
Add Fill Patterns
Fill Pattern()
sets the pattern for filled areas.
Matrix Example
Specify a mask (a matrix of values between 0 and 1) or an image. Each value in the matrix creates a pixel.
win =
New Window
(
"Example"
,
Graph Box
(
Fill Pattern
(
[
1
0.5 0 0
,
0.5 0 0 1
,
0 0 1 0.5
,
0 1 0.5 0
]
);
Polygon
( [
10 30 90
], [
88 22 44
] );
)
);
Named Pattern Example
Specify a name in quotation marks that corresponds to a pattern shown in
Fill Patterns
.
win =
New Window
(
"Named Pattern Example"
,
Graph Box
(
Fill Pattern
(
"vertical light"
);
Polygon
( [
10 30 90
], [
88 22 44
] );
)
);
Graphic Example
Specify an image in quotation marks. If the image is not installed on the viewer’s computer, question marks appear in the shape.
win =
New Window
(
"Graphic Example"
,
Graph Box
(
Fill Pattern
(
Open
(
"$SAMPLE_IMAGES/pi.gif"
,
"gif"
) );
Polygon
( [
10 30 90
], [
88 22 44
] );
)
);
Fill Patterns
Pattern Name
Pattern
left slant light
right slant light
vertical light
horizontal light
grid light
hatch light
h wave light
v wave light
hollow circle
left slant medium
right slant medium
vertical medium
horizontal medium
grid medium
hatch medium
h wave medium
v wave medium
filled circle
left slant heavy
right slant heavy
vertical heavy
horizontal heavy
grid heavy
hatch heavy
h wave heavy
v wave heavy
diamond
left slant heavy b
right slant heavy b
random
square
square offset
wide
tall
checkerboard
grid dots
triangle up
triangle down
triangle left
triangle right
weave light
weave heavy
honeycomb