Jim,
This worked.
Could I use the same concept in the scenario below, in order to set the titles. Withouth having to type each one of them.
So go from this
Template_TM = Expr(
TM = Oneway(
Y( Eval( TargetParameter )),
X( :Process ),
Each Pair( 1 ),
Means and Std Dev( 1 ),
t Test( 1 ),
Points Jittered( 1 ),
Box Plots( 1 ),
Mean Error Bars( 1 ),
Std Dev Lines( 1 ),
Comparison Circles( 1 ),
X Axis Proportional( 0),
Histograms( 0),
//Where( :PARAMETER_ID == Eval( TargetParameter )),
SendToReport(
Dispatch( {}, "Oneway Analysis of 0.12 By Process", OutlineBox(1), {Set Title( TargetProduct ||"_Oneway Analysis at_" || TargetParameter )} ),
Dispatch( {}, "Oneway Analysis of 0.16 By Process", OutlineBox(1), {Set Title( TargetProduct ||"_Oneway Analysis at_" || TargetParameter )} ),
Dispatch( {}, "Oneway Analysis of 0.2 By Process", OutlineBox(1), {Set Title( TargetProduct ||"_Oneway Analysis at_" || TargetParameter )} ),
Dispatch( {}, "Oneway Analysis of 0.3 By Process", OutlineBox(1), {Set Title( TargetProduct ||"_Oneway Analysis at_" || TargetParameter )} ),
Dispatch( {}, "1", ScaleBox, {Min( 0 ), Minor Ticks( 1 ), Add Ref Line(Eval(Limit_UCL), "Dotted", "Dark Blue", "UCL", 1)}),
Dispatch( {}, "Oneway Plot", FrameBox, ),
Dispatch( {}, "Means Comparisons", OutlineBox, {Close( 1 )} )
)
);
);
to this?
Template_TM = Expr(
TM = Oneway(
Y( Eval( TargetParameter )),
X( :Process ),
Each Pair( 1 ),
Means and Std Dev( 1 ),
t Test( 1 ),
Points Jittered( 1 ),
Box Plots( 1 ),
Mean Error Bars( 1 ),
Std Dev Lines( 1 ),
Comparison Circles( 1 ),
X Axis Proportional( 0),
Histograms( 0),
//Where( :PARAMETER_ID == Eval( TargetParameter )),
SendToReport(
Dispatch( {}, "1", ScaleBox, {Min( 0 ), Minor Ticks( 1 ), Add Ref Line(Eval(Limit_UCL), "Dotted", "Dark Blue", "UCL", 1)}),
Dispatch( {}, "Oneway Plot", FrameBox, ),
Dispatch( {}, "Means Comparisons", OutlineBox, {Close( 1 )} )
)
);
);
(TM<<xpath("//OutlineBox"))<<Set Title( TargetProduct ||"_Oneway Analysis at_" || TargetParameter );