Rapport GRRSalut,
J'ai un script pour générer un tracé GRR, puis créer un tableau récapitulatif.Le problème est que lorsque j'ai un mélange de spécifications d'un côté et de deux côtés et que j'utilise la commande "créer une table de données combinées", il n'affichera qu'une seule spécification latérale ou deux spécifications latérales basées sur le premier paramètre.
Comment puis-je obtenir le tableau récapitulatif des deux dans le script ?
new window ("GRR",
for (i = 1, i <= N items (ColList), i++,
variability chart (
Y ((ColList [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 (variability chart[1])["GaugeR&R"][table box(1)] << make combined data table;
temp = report (variability chart[1])["GaugeR&R"][table box(1)] << make combined data table;
temp << set name("GR&R summary");
data table ("GR&R summary") << select where (:Measurement Source != "Gauge R&R");
data table ("GR&R summary") << delete rows;
Objet : Rapport GRRCe que je veux dire par un objet d'affichage est l'un des objets qui peuvent être placés dans une nouvelle fenêtre () et qui s'afficheront.Vous pouvez utiliser ces objets sans être dans une nouvelle fenêtre, et vous pouvez placer la sortie dans ces objets, et ils ne seront pas affichés, jusqu'à ce qu'ils soient ajoutés dans une nouvelle fenêtre.Vous trouverez ci-dessous un exemple très simple d'utilisation d'une <
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
vlb = V List Box(
Graph Builder(
Size( 1000, 1000 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) )
),
Graph Builder(
Size( 1000, 1000 ),
Show Control Panel( 0 ),
Variables( X( :age ), Y( :height ) ),
Elements( Box Plot( X, Y, Legend( 9 ) ) )
)
);
nw = New Window( "pptslide", <<JOURNAL></JOURNAL>
Objet : Rapport GRRPouvez-vous me montrer un exemple de création de l'objet d'affichage ?Objet : Rapport GRRLa méthode que j'utilise pour ce faire consiste à créer un objet d'affichage, avec les graphiques que je souhaite afficher sur la diapositive ppt, puis à créer un objet image à partir de l'objet d'affichage et à le placer dans un journal.Le bouton Enregistrer la présentation à partir de l'entrée de journal ;
Objet : Rapport GRRSalut,
Le tracé GRR est correct mais aucune donnée dans le résumé GR&R. Quoi qu'il en soit, cet après-midi, j'essaie d'une manière différente. J'ai divisé l'intrigue en 2 onglets. premier onglet pour les spécifications d'un côté et un autre pour les spécifications des deux côtés. Maintenant, cela semble fonctionner.
mon prochain problème est que je veux enregistrer des tracés dans .ppt. Je veux un graphique variable par page.
Lorsque j'essaie d'utiliser enregistrer la présentation en .ppt. Il affiche un petit graphique (à l'intérieur du tableau des variables) par page. Existe-t-il un moyen de les combiner?
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;Objet : Rapport GRRJ'ai retravaillé le code et l'ai testé par rapport à une table de données dont je disposais, et cela semble fonctionner.Voyez si cela fonctionne pour vous
Names Default To Here( 1 );
dt = Current Data Table();
dtOut = New Table( "Guage R&R Summary" );
colList = dt << get column names( continuous, string );
New Window( "GRR",
For( i = 1, i <= N Items( ColList ), i++,
theChart = dt << variability chart(
Y( (ColList[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, 0, 0, 0),
Name( "Gauge R&R Report" )(1),
Automatic Recalc( 1 ),
);
temp = Report( theChart )["GaugeR&R"][Table Box( 1 )] << make combined data table;
dtOut << concatenate( temp, append to first table( 1 ) );
Close( temp, nosave );
)
);
Objet : Rapport GRRj'ai essayé votre script. La boucle for ne fonctionne pas. il ne signale que le premier paramètre.
Objet : Rapport GRRJe sortirais le tableau en question après chaque tableau de variabilité, puis je le concaténerais à un tableau principal, puis je passerais au tableau de variabilité suivant.Quelque chose comme:
dtOut = New Data Table( "Guage R&R Summary" );
New Window( "GRR",
For( i = 1, i <= N Items( ColList ), i++,
variability chart(
Y( (ColList[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( variability chart[1] )["GaugeR&R"][Table Box( 1 )] << make combined data table;
dtOut << concatenate( temp, append to first table( 1 ) );
Close( temp, nosave );
)
);
data table ("GR&R summary") << select where (:Measurement Source != "Gauge R&R");
data table ("GR&R summary") << delete rows;