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

Community Trekker

Joined:

Nov 24, 2015

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 ),

);

2 ACCEPTED SOLUTIONS

Accepted Solutions

Community Trekker

Joined:

May 28, 2014

Solution

Try

Show Limits (1)

Community Trekker

Joined:

Nov 24, 2015

Solution

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 )}
)
)

3 REPLIES

Community Trekker

Joined:

May 28, 2014

Solution

Try

Show Limits (1)

Super User

Joined:

Jun 22, 2012

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

Community Trekker

Joined:

Nov 24, 2015

Solution

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 )}
)
)