Or are you looking to click on the Male/Female distribution, and for it to change the values in the other graphs
Here is an example from the Scripting Index using a Data Filter Source Box
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Selection Filter",
Data Filter Context Box(
H List Box(
Data Filter Source Box(
Graph Builder(
Size( 208, 207 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables( X( :age ) ),
Elements( Bar( X, Legend( 3 ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title( "Filter" )}
)
)
)
),
Platform(
Current Data Table(),
Bubble Plot(
X( :weight ),
Y( :height ),
Sizes( :age ),
Title Position( 0, 0 )
)
)
)
)
);
![f1.PNG f1.PNG](https://community.jmp.com/t5/image/serverpage/image-id/6603i9D01C92C316A7318/image-size/large?v=v2&px=999)
![f2.PNG f2.PNG](https://community.jmp.com/t5/image/serverpage/image-id/6604i837E0DEEF6C24763/image-size/large?v=v2&px=999)
Here is the code adapted to the example you gave
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Selection Filter",
Data Filter Context Box(
H List Box(
Data Filter Source Box( Distribution( Nominal Distribution( Column( :sex ) ) ) ),
Platform(
Current Data Table(),
Distribution(
Nominal Distribution( Column( :age ) ),
Continuous Distribution( Column( :height ) ),
Continuous Distribution( Column( :weight ) )
)
)
)
)
);
![f3.PNG f3.PNG](https://community.jmp.com/t5/image/serverpage/image-id/6605iF32889D38731F68B/image-size/large?v=v2&px=999)
Jim