Ajustar límites especiales JSLHola todos,
Estoy usando Fit Y by X Plot y necesito 3 límites en mis parcelas (Control Limit, Upper Limit y Lower Limit) donde usé el ajuste especial 3 veces e ingresé la pendiente y la intersección necesarias. Pero no sé cómo hacer esto en JSL. Esta es solo la salida que obtengo cuando guardo el script en la ventana del script
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 )} )
)
);¿Hay alguna forma de que pueda ingresar o personalizar los valores de intersección y pendiente usando JSL?
OtroScriptingRe: Ajustar límites especiales JSLAquí hay un script guardado usando JMP 16, después de configurar uno de los ajustes en un ajuste especial.Muestra cómo especificar el JSL requerido.
names default to here(1);
dt=open("$sample_data/big class.jmp");
Bivariate(
Y( :Age ),
X( :height ),
Fit Line( {Confid Curves Indiv( 1 ), Line Color( "Black" )} ),
Fit Special( Intercept( 0 ), Slope( 1 ), {Line Color( {212, 73, 88} )} ),
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 )} )
)
);