cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Sebastienlg
Level II

JMP - Control chart - Script - LCL

Hello everyone,

I would like to make a control chart without the LCL limit.

Is it possible to remove it?

Here is my script example: 

 

KSigma( 9.87903978847575 ),
Chart Col( :"Y"n, P( LCL( -3 ) ) ),
SendToReport(...

 

Can someone help me with this?

Thanks a lot.

Sebastien

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
jthi
Super User

Re: JMP - Control chart - Script - LCL

Usually the easiest way for simple cases is to first create the graph with JMP's interactive tools:

jthi_0-1648731395500.png

See if you can find the setting and make modifications and get the script from red triangle menu:

Control Chart Builder(
	K Sigma(2.5),
	Variables(Subgroup(:Sample), Y(:Weight)),
	Chart(Position(1), Limits(Show Lower Limit(0))),
	Chart(Position(2), Limits(Show Lower Limit(0)))
)

and see if the option appears in the script provided by JMP.

-Jarmo

View solution in original post

Ressel
Level VI

Re: JMP - Control chart - Script - LCL

Not sure if this helps, but if you look up Control Chart Builder in the Scripting Index, it shows you how to turn on/off the limits. With that being said, I created a Control Chart,  unticked "Show Lower Limit" and saved it back to the table. Inspecting the script, I could see how to turn of the lower limit:

Control Chart Builder( ... , Limits( Show Lower Limit( 0 ) ) ) )

I think it would be useful if you could provide a complete overview of your script. The snippet above is hard to handle for me.

View solution in original post

2 REPLIES 2
jthi
Super User

Re: JMP - Control chart - Script - LCL

Usually the easiest way for simple cases is to first create the graph with JMP's interactive tools:

jthi_0-1648731395500.png

See if you can find the setting and make modifications and get the script from red triangle menu:

Control Chart Builder(
	K Sigma(2.5),
	Variables(Subgroup(:Sample), Y(:Weight)),
	Chart(Position(1), Limits(Show Lower Limit(0))),
	Chart(Position(2), Limits(Show Lower Limit(0)))
)

and see if the option appears in the script provided by JMP.

-Jarmo
Ressel
Level VI

Re: JMP - Control chart - Script - LCL

Not sure if this helps, but if you look up Control Chart Builder in the Scripting Index, it shows you how to turn on/off the limits. With that being said, I created a Control Chart,  unticked "Show Lower Limit" and saved it back to the table. Inspecting the script, I could see how to turn of the lower limit:

Control Chart Builder( ... , Limits( Show Lower Limit( 0 ) ) ) )

I think it would be useful if you could provide a complete overview of your script. The snippet above is hard to handle for me.