- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
CuSum chart name
Hi there,
Can someone tell me how to change a CuSum chart name in JSL ? in the below JSL example
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Quality Control/Oil1 Cusum.jmp" );
obj = dt << Control Chart(
Sample Size( :hour ),
H( 2 ),
Chart Col(
:weight,
CUSUM( Two sided( 1 ), Target( 8.1 ), Delta( 1 ), Sigma( 0.05 ), Head Start( 0.05 ) )
),
Chart Type( CUSUM ),
);
The chart name defaults to Oil1 Cusum - Control Chart, as per screen shot below. I would like to be able to change this in JSL, without having to do a "file, save as" and losing time writing the file to a drive.
I've tried obj << set name ("test") ; and obj << set control chart name ("test"); to no avail. Any ideas?
Thanks
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: CuSum chart name
You are trying to change the name of the window, so you can use << Set Window Title
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Oil1 Cusum.jmp");
obj = dt << Control Chart(
Sample Size(:hour),
H(2),
Chart Col(
:weight,
CUSUM(Two sided(1), Target(8.1), Delta(1), Sigma(0.05), Head Start(0.05))
),
Chart Type(CUSUM)
);
obj << Set Window Title("TEST");
-Jarmo
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: CuSum chart name
You are trying to change the name of the window, so you can use << Set Window Title
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Oil1 Cusum.jmp");
obj = dt << Control Chart(
Sample Size(:hour),
H(2),
Chart Col(
:weight,
CUSUM(Two sided(1), Target(8.1), Delta(1), Sigma(0.05), Head Start(0.05))
),
Chart Type(CUSUM)
);
obj << Set Window Title("TEST");
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: CuSum chart name
worked perfectly, thank you