JSL-Skript in der Graph Builder-Box zeichnet alle Spalten gegen die Wafer-Nummer aufHallo, ich versuche, meine Daten (mehrere Parameter) gegen die Wafernummer darzustellen. Ich habe ein Skript der Community für das Verteilungsdiagramm gefunden. Daher habe ich es geändert, indem ich die Verteilungsfunktion durch die Graph Builder-Funktion ersetzt habe. Allerdings wurde im Bericht nur ein Diagramm anstelle aller Diagramme angezeigt. Kann ich Ihnen Ratschläge zu diesem Skript geben? Danke schön.
dt = Current Data Table ();
// Get all of the continuous data columns
colNames = dt << get column names( string, continuous );
// Create the JSL to create the script
theExpr = "Graph Builder(
Size( 1414, 795 ),
Show Control Panel( 0 ),
Variables( X( :WF_NUM ), Y( colNames[1] ), Color( :WF_NUM ) ),
Elements( Box Plot( X, Y, Legend( 7 ) ) )
);
)";
For( i = 1, i <= N Items( colNames ), i++,
theExpr = theExpr || ", Graph Builder(
Size( 1414, 795 ),
Show Control Panel( 0 ),
Variables( X( :WF_NUM ), Y(colNames[" || Char( i ) || "] ), Color( :WF_NUM ) ),
Elements( Box Plot( X, Y, Legend( 7 ) ) )
)");
// place the closing ")" to complete the command string
theExpr = theExpr || ");";
// Run the created JSL
Eval(Parse(theExpr));
Ich danke Ihnen für Ihre Hilfe.
Dominik
MassenanpassungBetreff: JSL-Skript in der Graph Builder-Box zeichnet alle Spalten gegen die Wafer-Nummer aufIch danke Ihnen für Ihre Hilfe @txnelson
Schätzen Sie die Antwort mit Details und Code.
Betreff: JSL-Skript in der Graph Builder-Box zeichnet alle Spalten gegen die Wafer-Nummer aufAlles, was getan werden muss, ist, die Diagrammgenerationen in einer New Window()-Funktion zu platzieren.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
// Change the name of the Wafer column to match the name used
// in the Graph Builder code
dt:wafer << set name( "WF_NUM" );
colNames = dt << get column names( string, continuous );
nw = New Window( "Graphs",
// Since there are 128 columns that could be plotted, the code has been
// modified to just produce 3 of the plots. The commented out code
// should replace the "i <= 3, i++," to plot all graphs
For( i = 1, i <= 3, i++, // N Items( colNames ), i++,
dt << Graph Builder(
Size( 1414, 795 ),
Show Control Panel( 0 ),
Variables(
X( :WF_NUM ),
Y( As Column( dt, colNames[i] ) ),
Color( :WF_NUM )
),
Elements( Box Plot( X, Y, Legend( 7 ) ) )
),
);
);Betreff: JSL-Skript in der Graph Builder-Box zeichnet alle Spalten gegen die Wafer-Nummer aufHallo @txnelson ,
Danke für Ihre Antwort.
Die Diagramme wurden mit Ihrem geänderten Code gezeichnet. Eine zusätzliche Frage zu den geänderten Codes. Als ich den Referenzcode der Community für Verteilungsdiagramme verwendete, wurden alle Diagramme in einem einzigen Bericht zusammengefasst, was den Export nach Powerpoint erleichtert. Darf ich fragen, welche zusätzlichen Zeilen für den Code benötigt werden, den Sie vereinfacht haben, um Diagramme in einem einzigen Bericht zusammenzufassen?
Ich danke Ihnen für Ihre Hilfe.
Dominik
Betreff: JSL-Skript in der Graph Builder-Box zeichnet alle Spalten gegen die Wafer-Nummer aufDie von Ihnen bereitgestellte JSL kann vereinfacht werden, um die gewünschten Diagramme zu erstellen.Nachfolgend finden Sie eine Änderung Ihres Codes
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
// Change the name of the Wafer column to match the name used
// in the Graph Builder code
dt:wafer << set name( "WF_NUM" );<BR />colNames = dt << get column names( string, continuous );
// Since there are 128 columns that could be plotted, the code has been
// modified to just produce 3 of the plots. The commented out code
// should replace the "i <= 3, i++," to plot all graphs
For( i = 1, i <= 3, i++, // N Items( colNames ), i++,
dt << Graph Builder(
Size( 1414, 795 ),
Show Control Panel( 0 ),
Variables(
X( :WF_NUM ),
Y( As Column( dt, colNames[i] ) ),
Color( :WF_NUM )
),
Elements( Box Plot( X, Y, Legend( 7 ) ) )
)
);
