dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Graph Builder(
Size( 534, 464 ),
Show Control Panel( 0 ),
Graph Spacing( 5 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 5 ) ), Smoother( X, Y, Legend( 6 ) ) ),
Local Data Filter( Add Filter( columns( :sex ), Where( :sex == "F" ) ) )
);
df = dt << Data Filter(
Location( {696, 15} ),
Mode( Include( 1 ) ),
Add Filter( columns( :sex ), Where( :sex == "F" ) )
);
ldf = (report(gb) << Parent)["Local Data Filter"];
df << Clear ();
//same for ldf:
ldf[buttonBox(1)] << click();
df << Add Filter( columns( :name) );
// same for ldf?