JSL-Skript auf der Graph-Builder-Box zeichnet alle Spalten gegen die Wafernummer aufHallo, ich versuche, meine Daten (mehrere Parameter) gegen die Wafernummer darzustellen. Ich habe ein Skript aus der Community für den Verteilungsgraphen gefunden. Daher habe ich es geändert, indem ich die Verteilungsfunktion durch die Graph Builder-Funktion ersetzt habe. Im Bericht wurde jedoch nur eine Grafik statt aller Grafiken angezeigt. Kann ich Sie zu diesem Skript beraten? Vielen Dank.
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));
Danke für Ihre Hilfe.
Dominik
GrafikSkripterstellungBetreff: JSL-Skript auf Graph Builder Box Plot alle Spalten gegen WafernummerDanke für Ihre Hilfe @txnelson
Schätzen Sie die Antwort mit Details und Code.
Betreff: JSL-Skript auf Graph Builder Box Plot alle Spalten gegen WafernummerAlles, was getan werden muss, ist, die Diagrammgenerationen in eine 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 auf Graph Builder Box Plot alle Spalten gegen WafernummerHallo @txnelson ,
Danke für Ihre Antwort.
Die Diagramme wurden mit Ihrem modifizierten 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 zu zusammengefassten Diagrammen in einem einzigen Bericht vereinfacht haben?
Danke für Ihre Hilfe.
Dominik
Betreff: JSL-Skript auf Graph Builder Box Plot alle Spalten gegen WafernummerDie von Ihnen bereitgestellte JSL kann vereinfacht werden, um die gewünschten Diagramme zu erstellen.Unten ist 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 ) ) )
)
);
