使用 SendToByGroup JSL 時取得「By」屬性你好,
我有一個關於使用 JSL 腳本的變異性圖表的問題。我有一個使用 SendToGroupBy 的變異性圖表。在此 JSL 腳本中,我截取了從 SendToGroupBy 建立的每個圖表的螢幕截圖。但我想附加 png 檔案及其分組依據的屬性名稱。在下面的範例中,我想將 FileName png 檔案名稱附加到Example1。我怎樣才能獲得該訪問屬性值?任何幫助將不勝感激。


自動化和腳本編寫視窗回覆:使用 SendToByGroup JSL 時取得「By」屬性<< 取得 Expr 可能起作用的地方
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dists = dt << Distribution(
By(:Sex),
SendToByGroup(
{:sex == "F"},
Continuous Distribution(Column(:weight), Normal Quantile Plot(1))
),
SendToByGroup({:sex == "M"}, Continuous Distribution(Column(:weight)))
);
For Each({dist}, dists,
show(dist << Get Where Expr);
);回覆:使用 SendToByGroup JSL 時取得「By」屬性嗨,賈莫,
Thank you for your reply. Unfortunately, when I try the sample script returns dist << Get Where Expr Distribution[]. Am I missing something? Should there be some expression to access the dist obj?
回覆:使用 SendToByGroup JSL 時取得「By」屬性您使用的是哪個 JMP 版本?我認為這可能是 JMP18 中的新事物。
回覆:使用 SendToByGroup JSL 時取得「By」屬性我使用的是 JMP 17.0.0
回覆:使用 SendToByGroup JSL 時取得「By」屬性在此發布我從 JMP 支援部門獲得的回應以提高可見度。適用於 JMP 17.0.0
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dists = dt << Distribution(
By( :Sex ),
SendToByGroup(
{:sex == "F"},
Continuous Distribution( Column( :weight ), Normal Quantile Plot( 1 ) )
),
SendToByGroup( {:sex == "M"}, Continuous Distribution( Column( :weight ) ) )
);
For Each( {dist}, dists, expr = dist << get script;
Print( Arg( Extract Expr( expr, Where( Wild() ) ) ) )
);距離<< 取得 Expr 適用於 JMP 18 的位置
回覆:使用 SendToByGroup JSL 時取得「By」屬性這也是我之前對早期版本的 JMP 提出的建議。即使在 JMP18 中,我也這麼做了,直到我發現 JMP18 中關於在平台中使用 by 和 where 的提示很少(至少是 << Get Where Expr 和 << Get By Levels)