cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • See how to interactively organize and restructure data for analysis. Register for May 29 webinar, 2pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Steve_Kim
Level IV

[Script] Get rid of Moving Range chart in control chart builder


Hello~ all~

Is there a way to get rid of Moving Range chart

in the 'Control chart builder' platform

by using JMP script? : )

8761_I chart.jpg

Here is the script for the 'control chart builder' sample.

dt = Open( "$SAMPLE_DATA/Quality Control/Coating.jmp" );

dt << Control Chart Builder(
Show Control Panel( 0 ),
Variables( Subgroup( :Pin ), Y( :Weight ) ),
Chart( Position( 1 ), Limits( Spec Limits( 1 ) ), Warnings( Test 1( 1 ) ) ),
Chart( Position( 2 ) ),
SendToReport( Dispatch( {}, "graph title", TextEditBox, {Set Text( "Individual chart of Weight" )} ) )
);

13 REPLIES 13
txnelson
Super User

Re: [Script] Get rid of Moving Range chart in control chart builder

Here is a script using the Big Class data table, and your script, running in JMP 12.2 and it seems to work great

onechart.PNG

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );


Control Chart Builder(
	Show Two Shewhart Charts( 0 ),
	Size( 650, 500 ),
	Show Control Panel( 0 ),
	Show Capability( 0 ),
	Variables( Subgroup( :age ), Y( :height ) ),
	Customize Tests( Test 2( 8, "2" ), Test 3( 7, "3" ) ),
	Chart(
		Position( 1 ),
		Points( Statistic( "Individual" ) ),
		Limits( Sigma( "Moving Range" ) ),
		Warnings( Test 1( 1 ), Test 2( 1 ), Test 3( 1 ) )
	)
);
Jim
Paul_J
Level III

Re: [Script] Get rid of Moving Range chart in control chart builder

Thanks, but it doen't work for me.  Must be something specific about 12.1.0 (not Pro).  Good to know at least this will be fixed in a later version, though I hope it will be fixed in the non-pro version.

 

 

 

 

txnelson
Super User

Re: [Script] Get rid of Moving Range chart in control chart builder

You should be able to go to the JMP update site and for free download 12.2

Jim
Paul_J
Level III

Re: [Script] Get rid of Moving Range chart in control chart builder

The script I have creates the chart then saves it to a journal.  Is there any way to pause the script so the user can manually remove the Range chart, then continue the script which saves the chart to a journal (and does other stuff)?

 

Thanks.

Recommended Articles