グラフビルダーボックスのJSLスクリプトは、すべての列をウェーハ番号に対してプロットしますこんにちは、ウェーハ番号に対してデータ (複数のパラメーター) をプロットしようとしています。 コミュニティから分布グラフのスクリプトを見つけました。 したがって、Distribution関数をGraph Builder関数に置き換えることで修正しました。 ただし、すべてのグラフではなく、1 つのグラフのみがレポートに表示されました。 このスクリプトについてアドバイスをいただけますか。 ありがとうございました。
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));
ご協力ありがとうございました。
ドミニク
グラフィックスクリプティングRe: グラフ ビルダー ボックスの JSL スクリプトは、ウェーハ番号に対してすべての列をプロットしますご協力ありがとうございました@txnelson
詳細とコードで答えを高く評価してください。
Re: グラフ ビルダー ボックスの JSL スクリプトは、ウェーハ番号に対してすべての列をプロットします行う必要があるのは、グラフ生成を New Window() 関数内に配置することだけです。
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 ) ) )
),
);
);Re: グラフ ビルダー ボックスの JSL スクリプトは、ウェーハ番号に対してすべての列をプロットしますこんにちは@txnelson 、
お返事ありがとうございます。
グラフは、変更したコードでプロットされました。 変更されたコードに関する追加の質問。 分布グラフのコミュニティから参照コードを使用していたとき、すべてのグラフが 1 つのレポートにまとめられていたため、PowerPoint に簡単にエクスポートできました。 グラフを 1 つのレポートに要約するために簡略化したコードには、何行追加する必要があるかお尋ねしてもよろしいですか?
ご協力ありがとうございました。
ドミニク
Re: グラフ ビルダー ボックスの JSL スクリプトは、ウェーハ番号に対してすべての列をプロットします提供した JSL を単純化して、必要なグラフを作成できます。以下はあなたのコードの変更です
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 ) ) )
)
);
