生成双变量图时(例如)- 文本框的大小会因内部书写而变窄。
运行脚本后,我需要 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 ))}
)
)
);这