与显示框对话用于生成此图的自动生成脚本

是
Graph Builder(
Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),
SendToReport( Dispatch( {}, "X title", TextEditBox, {Set Text( "xxx" )} ) )
)
- 为什么是“X 标题”?
- 稍后讨论 X 轴标题的稳健方法是什么。
current Report()[TextEditBox(3)]
似乎有效 - 但命令中是否包含“X 轴”?
自动化和脚本编写回复:与显示框对话不确定是否有任何“直接”方式访问该轴标题,但您可以使用 Dispatch (据我所知应该避免......)
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Size(520, 176),
Show Control Panel(0),
Variables(X(:height), Y(:weight), Overlay(:sex)),
Elements(Points(X, Y, Legend(13)), Smoother(X, Y, Legend(14)))
);
Report(gb) << Dispatch(
{},
"X title",
TextEditBox,
{Text Color("Red"), Set Base Font("Heading"), Font Color(3)}
);回复:与显示框对话是的,对,这两个考虑促使我写下这个问题。