Hi,
The GRR plot is correct however no data in the GR&R summary. Anyway, this afternoon I try a different way. I split the plot into 2 tab. first tab for one side spec and another for two side spec. Now it seems working.
my next problem is I want to save plots into .ppt. I want one variable chart per page.
When I try to use save presentation to .ppt. It show one small graph (inside the variable chart) per page. Is there a way to combine them?
data table("split_spec") << select where (:spec type == "one side") ;
rows = data table("split_spec")<< get selected rows;
ColList1 = :Label[rows];
data table("split_spec") << select where (:spec type == "two side") ;
rows = data table("split_spec")<< get selected rows;
ColList2 = :Label[rows];
dtOut = New Table( "GRR_Summary");
current data table(dt_raw);
nw = new window ("GRR",tb = tab box(),vlb = vlist box());
tb << add ("OneSideSpec", vlb = v list box());
for (i = 1, i <= N items (ColList1), i++,
vlb << append(
v1 = variability chart (
Y ((ColList1 [i])),
X (:Operators, :Parts),
Model ("Crossed"),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Show group means (1),
Points Jittered( 1 ),
AIAG Labels( 0 ),
Show Box Plots( 1 ),
Mean Diamonds( 1 ),
Mean Plots( 1 ),
Historical Sigma(0),
Name( "Gauge R&R" )(5.15),
Name( "Gauge R&R Report" )(1),
Automatic Recalc( 1 ),
);
);
);
temp = report (v1)["GaugeR&R"][table box(1)] << make combined data table;
dtOut << concatenate( temp, append to first table( 1 ) );
close(temp, nosave);
tb << Add( "TwoSideSpec", vlb2 = V List Box() ) ;
current data table(dt_raw);
For( i = 1, i <= N Items( ColList2 ), i++,
vlb2 << append(
v2 = variability chart(
Y( (ColList2[i]) ),
X( :Operators, :Parts ),
Model( "Crossed" ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Show group means( 1 ),
Points Jittered( 1 ),
AIAG Labels( 0 ),
Show Box Plots( 1 ),
Mean Diamonds( 1 ),
Mean Plots( 1 ),
Historical Sigma( 0 ),
Name( "Gauge R&R" )(5.15),
Name( "Gauge R&R Report" )(1),
Automatic Recalc( 1 ),
);
);
);
temp = report(v2)["GaugeR&R"][table box(1)] << make combined data table;
dtOut << concatenate( temp, append to first table( 1 ) );
close(temp, nosave);
data table ("GRR_Summary") << select where (:Measurement Source != "Gauge R&R");
data table ("GRR_Summary") << delete rows;