生成雙變量圖時(例如)- 文本框的大小會因內部書寫而變窄。
運行腳本後,我需要 CTRL 右鍵單擊文本框並選擇“Wrap Text”,然後選擇我想要的大小。
有什麼方法可以默認選擇尺寸嗎?或添加到腳本以生成具有所需換行文本大小的圖的任何方式?
例如:
文本框結果

我想要的文本框結果

我使用的 JSL 代碼 - Y,X 可以是任何數據數字。名義上的圖例,如 Hose_1、House_2、...(參考線不重要)
Bivariate(
Y( :Y_column ),
X( :X_column),
by(),
Automatic Recalc( 1 ),
Group By(:Some_column),
Fit Spline( 0.1, Standardized,{REPORT(0)} ),
SendToReport(
Dispatch({},"1",ScaleBox,{Format( "m/d/y", 10 ), Interval( "Day" ), Inc( 4 ), Minor Ticks( 1 ),Rotated Labels( "Vertical" )}),
Dispatch({},"2",ScaleBox,{Add Ref Line( eval(Some_Line_set_in_global), "DashDotDot", "Black", "UCL", 2 ),Add Ref Line( eval(Some_Line_set_in_global), "DashDotDot", "Black", "LCL", 2 )}),
Dispatch({},"3",ScaleBox,{Rotated Labels( "Vertical" )}),
Dispatch({},"Bivar Plot",FrameBox,{Marker Size( 1 ), Marker Selection Mode( "Unselected Faded" ),{Frame Size( 390, 270 ), Marker Size( MSB ), Line Width Scale( 1 )},
Row Legend(:Some_column,Color( 1 ),Color Theme( "JMP Default" ),Marker( 0 ), Marker Theme( "" ),Continuous Scale( 0 ),Reverse Scale( 0 ),Excluded Rows( 0 ))}
)
)
);這