使用 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)