大家好,
我正在使用 Fit Y by X Plot,我的图需要 3 个限制(控制限、上限和下限),其中我使用了特殊拟合 3 次,并输入所需的斜率和截距。但我不知道如何在 JSL 中执行此操作。这只是将脚本保存到脚本窗口时得到的输出
Bivariate(
Y( :Age ),
X( :Sex ),
Fit Line( {Confid Curves Indiv( 1 ), Line Color( "Black" )} ),
Fit Line( {Line Color( {196, 189, 43} )} ),
Fit Line( {Line Color( {39, 174, 174} )} ),
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{DispatchSeg( Line Seg( 1 ), {Line Color( "Black" )} ),
DispatchSeg( Line Seg( 4 ), {Line Color( "Black" )} ),
DispatchSeg( Line Seg( 5 ), {Line Color( "Black" )} ),
Row Legend(
Blade Type,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
),
Dispatch( {}, "Linear Fit", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Linear Fit", Outline Box( 2 ), {Close( 1 )} ),
Dispatch( {}, "Linear Fit", Outline Box( 3 ), {Close( 1 )} )
)
);有什么方法可以使用 JSL 输入或自定义截距和斜率值吗?