Hi @mochar
there are at least two ways to do what you are looking for.
first, you can use a "local data filter" separately for the graphs you want to filter. this will not affect the other plots.
the other option is manipulating the "timing" of the execution by using and not using "automatic recalc".
have a look at this script and let us know if it helps.
names default to here (1);
Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Big Class - Variability Chart of height, weight by sex",
h list box (V List Box(
Variability Chart(
Automatic Recalc( 1 ),
Y( :height ),
X( :sex ),
Model( "Main Effect" ),
Variability Summary Report( 1 ),
Points Jittered( 1 )
),
Variability Chart(
Automatic Recalc( 1 ),
Y( :weight ),
X( :sex ),
Variability Summary Report( 1 ),
Mean of Std Dev( 1 ),
Points Jittered( 1 )
)
),
Distribution(
Automatic Recalc( 1 ),
Continuous Distribution( Column( :height ) ),
Continuous Distribution( Column( :weight ) ),
Local Data Filter(
Add Filter(
columns( :height, :weight ),
Where( :height >= 55 & :height <= 70 ),
Where( :weight >= 64 & :weight <= 160 )
)
)
),
));