BookmarkSubscribe
Choose Language Hide Translation Bar
NG
NG
Community Trekker

IR Control Chart and Local Data Filter

I make a lot of use with the local data filter across the different platforms of JMP, but it doesn't seem to be available in the IR Control Charts. My workaround has been to run queries and subset the data, but I find myself increasingly needing to draw 5-10 control charts and managing multiple files and formatting is a lot of extra work.

 

Is there a way to do something like a local data filter in the IR Control Chart to avoid having to juggle multiple files?

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: IR Control Chart and Local Data Filter

You can use a Global Data Filter with the IR chart

Names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");

Control Chart(
	Group Size( 1 ),
	KSigma( 3 ),
	Chart Col( :height, Individual Measurement, Moving Range )
);

Current Data Table() << Data Filter(
	Location( {664, 73} ),
	Mode( Show( 1 ), Include( 1 ) ),
	Add Filter( columns( :sex ) )
);

or you can use the Control Chart Builder

Names default to here(1);
dt=open("$SAMPLE_DATA/big class families.jmp");
Control Chart Builder(
	Size( 528, 454 ),
	Show Control Panel( 0 ),
	Show Capability( 0 ),
	Variables( Y( :height ) ),
	Chart( Position( 1 ), Limits( Sigma( "Moving Range" ) ) ),
	Chart( Position( 2 ), Limits( Sigma( "Moving Range" ) ) ),
	Local Data Filter( Add Filter( columns( :sex ) ) )
);
Jim
3 REPLIES 3

Re: IR Control Chart and Local Data Filter

No. This platform is a legacy way to make such charts. The data filter relies on the platform to respect automatic recalculation. This platform does not.

 

On the other hand, the new Control Chart Builder makes the same chart and respects updates from the Data Filter or the Local Data Filer.

Learn it once, use it forever!
Highlighted
txnelson
Super User

Re: IR Control Chart and Local Data Filter

You can use a Global Data Filter with the IR chart

Names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");

Control Chart(
	Group Size( 1 ),
	KSigma( 3 ),
	Chart Col( :height, Individual Measurement, Moving Range )
);

Current Data Table() << Data Filter(
	Location( {664, 73} ),
	Mode( Show( 1 ), Include( 1 ) ),
	Add Filter( columns( :sex ) )
);

or you can use the Control Chart Builder

Names default to here(1);
dt=open("$SAMPLE_DATA/big class families.jmp");
Control Chart Builder(
	Size( 528, 454 ),
	Show Control Panel( 0 ),
	Show Capability( 0 ),
	Variables( Y( :height ) ),
	Chart( Position( 1 ), Limits( Sigma( "Moving Range" ) ) ),
	Chart( Position( 2 ), Limits( Sigma( "Moving Range" ) ) ),
	Local Data Filter( Add Filter( columns( :sex ) ) )
);
Jim

Re: IR Control Chart and Local Data Filter

Good call, Jim!

 

I checked the IR platform menu to be sure that it included neither the Local Data Filter command nor the Auto Recalc option. I forgot that the legacy control chart platforms have always been responsive to row states, long before Auto Recalc was added to the rest.

Learn it once, use it forever!
0 Kudos