BookmarkSubscribe
Choose Language Hide Translation Bar
Highlighted
mohamed_elhassa
Community Trekker

JSL - showing spec limits as graph reference lines (JMP 12)

I have recently updated to JMP 12.1 and was trying to port over an old script to set the spec limit property (see below). It works fine in JMP 11, but now that I'm running JMP 12.1, the code in red doesn't work. It doesn't error out, it just doesn't toggle the option for showing specs as graph reference lines. Has anyone found a solution to this?

M

 

JMP 11 code that worked but doesn't work with 12.1

dt << Sort (By("Date"), Order (Ascending), Replace Table);

Column ("Width") << Set Property("Spec Limits",

                        {LSL(1.7), Target(1.9), USL(2.1)}, Show as graph reference lines( 1 ),

            );

 

0 Kudos
2 ACCEPTED SOLUTIONS

Accepted Solutions
dkeshock
Community Trekker

Re: JSL - showing spec limits as graph reference lines (JMP 12)

Try

 

Show Limits (1)

 

 

mohamed_elhassa
Community Trekker

Re: JSL - showing spec limits as graph reference lines (JMP 12)

Thanks for the assistance fellows! I found the show limits(1) does work but it needs to be INSIDE the curly brackets like so:

Set Property(
        "Spec Limits",
        {LSL( 125 ), USL( 127 ), Target( 126 ), Show Limits( 1 )}
    )
)

0 Kudos
3 REPLIES 3
dkeshock
Community Trekker

Re: JSL - showing spec limits as graph reference lines (JMP 12)

Try

 

Show Limits (1)

 

 

txnelson
Super User

Re: JSL - showing spec limits as graph reference lines (JMP 12)

The easiest way to see what you need to specify for your Show Limits issue, and for many other similar issues, is to set the option(s) interactively, and then either save the script, if it is a platform, or specifically in your case

 

show( col << get property("spec limits));

 

This will show you exactly what the spec limits list needs to look like to she the Show Limits element

Jim
0 Kudos
mohamed_elhassa
Community Trekker

Re: JSL - showing spec limits as graph reference lines (JMP 12)

Thanks for the assistance fellows! I found the show limits(1) does work but it needs to be INSIDE the curly brackets like so:

Set Property(
        "Spec Limits",
        {LSL( 125 ), USL( 127 ), Target( 126 ), Show Limits( 1 )}
    )
)

0 Kudos