最後一步是轉到紅色小三角並選擇“保存腳本”=>“到腳本窗口”
Graph Builder(
Size( 525, 458 ),
Show Control Panel( 0 ),
Variables( X( :age ), X( :sex, Position( 1 ) ), Y( :height ) ),
Elements( Points( X( 1 ), X( 2 ), Y, Legend( 3 ) ) ),
SendToReport(
Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
Dispatch(
{},
"",
AxisBox,
{Add Axis Label( "Sex" ),
{Add Text Annotation(
Text( "Sex" ),
Fixed Size( 0 ),
Text Box( {-16, 2, 21, 29} ),
Filled( 0 )
), Add Text Annotation(
Text( "Age" ),
Fixed Size( 0 ),
Text Box( {-15, 26, 26, 53} ),
Filled( 0 )
)}}
),
Dispatch( {}, "Sex", TextEditBox, {Set Text( "" )} )
)
);
通過為您的第 3 個 X 軸級別重複註釋步驟,然後保存腳本應該會為您提供圖表所需的 JSL。