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