Hi all
Want to use if statement in variblity chart scirpt.
If paramer is define as leakage want to have variblity chart with log scale and graph min\max as well.
This is the code i am using.
variability Chart(
Y( :VALUE ),
X( :DATE_LOT, :WAFER ),
Max Iter( 100 ),
Conv Limit( 0.00000001 ),
Number Integration Abscissas( 128 ),
Number Function Evals( 65536 ),
Analysis Type( Name( "Choose best analysis (EMS REML Bayesian)" ) ),
Process Variation( 0 ),
Std Dev Chart( 0 ),
Points Jittered( 1 ),
Automatic Recalc( 1 ),
By( :BIN_NAME, :SPEC_LOW, :SPEC_HIGH ),
Dispatch(
{"Variability Chart for VALUE"},
"2",
ScaleBox,
{If( :LKG != "LKG",
Scale( "Linear" ),
Scale( "Log" )
), If(
:LKG != "LKG";
Min( :SPEC_LOW - 0.05 * (:SPEC_HIGH - :SPEC_LOW) );
Min( 1e-12 );
), Max( :SPEC_HIGH + 0.05 * (:SPEC_HIGH - :SPEC_LOW) ), Add Ref Line( :SPEC_LOW, Solid, "Dark Fuchsia", "LSL" ),
Add Ref Line( :SPEC_HIGH, Solid, "Dark Fuchsia", "USL" )}
)
)