グラフビルダーボックス上の 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 ) ) )
)
);
