與顯示框對話用於生成此圖的自動生成腳本

是
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)}
);回复:與顯示框對話是的,對,這兩個考慮促使我寫下這個問題。