dt = Open( "$SAMPLE_DATA/Cities.jmp" );
graph = dt << Graph Builder(
Size( 528, 455 ),
Show Control Panel( 0 ),
Variables( X( :POP ), Y( :CO ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 5 ) ) ),
);
graph << Local Data Filter(
Add Filter( columns( :Region ), Display( :Region, N Items( 6 ) ) )
);
//It seems that writing it this way doesn't work,
obj << (Filter Column(:Region) << Where(:Region == "C"));
It is hoped that the selection of filters can be separated for independent operation.