-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathJMP Script Examples.jsl
71 lines (63 loc) · 1.71 KB
/
JMP Script Examples.jsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
////////////////////////////////////////////////////////////
// Mark by Buffer Type
////////////////////////////////////////////////////////////
Current Data Table() << Color by Column(
Buffer,
Color( 0 ),
Color Theme( "" ),
Marker( 1 ),
Marker Theme( "Solid" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 1 )
);
////////////////////////////////////////////////////////////
// Color by Radius
////////////////////////////////////////////////////////////
Current Data Table() << Color by Column(
Name( "Radius (mm)" ),
Color( 1 ),
Color Theme( "Blue to Gray to Red" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 1 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
);
////////////////////////////////////////////////////////////
// Remove Invalid Points
////////////////////////////////////////////////////////////
dt = Current Data Table();
dt << Select Where(
:Test # > 1 |
:Name( "Mobility @ 25C" ) >= 2400 |
:Mathematica Hall xAl <= 0.23 |
:Name( "VDP R1/R2" ) >= 1.01 |
:Name( "VDP R1/R2" ) <= 0.99 |
:Name( "Hall V1/V2" ) >= 1.1 |
:Name( "Hall V1/V2" ) <= 0.9
);
For Each Row(
If( Selected( Row State() ) == 1,
Hidden( Row State() ) = 1;
Excluded( Row State() ) = 1;
)
);
dt << Clear Select;
////////////////////////////////////////////////////////////
// Prompt User
////////////////////////////////////////////////////////////
a = New Window(
"Enter the Reedholm Lot ID:",
<< Modal,
Text Box("Enter the Reedholm Lot ID:"),
editBox = Number Edit Box(),
Button Box( "OK" ),
Button Box( "Cancel" )
);
If( a["Button"] == -1,
Throw()
);
// Get the contents of the Number Edit Box
lot_id = editBox << get;
Show(lot_id)