字串列名稱作為變異圖的參數大家好,
我有字串形式的列名稱列表。我想將其輸入作為變異圖的參數。
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );
yCol = {"NPN1", "NPN2"};
xCol = {"wafer", "lot_id"};
// I want to Plot for all x columns
obj << Variability Chart( Y( yCol[1] ), Model( "Main Effect" ), X( xcols ) );
我嘗試了“As Column”,Parse(":"||xCol[i]) 沒有任何效果...請指導...提前致謝
自動化和腳本編寫回覆:字串列名稱作為變異圖的參數存在語法錯誤,指定了 xcols 而不是 xcon。
為 xcol 列表新增 Column() 函數和 Eval() 函數修復了 JSL
嘗試這個:
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );
yCol = {"NPN1", "NPN2"};
xCol = {"wafer", "lot_id"};
// I want to Plot for all x columns
obj = dt << Variability Chart( Y( column(yCol[1]) ), Model( "Main Effect" ), X( eval(xcol) ) );
另外,請使用 JSL 圖示輸入您的問題和/或回覆中指定的任何 JSL。