Ajuster les limites spéciales JSLSalut tout le monde,
J'utilise Fit Y by X Plot et j'ai besoin de 3 limites sur mes tracés (limite de contrôle, limite supérieure et limite inférieure) où j'ai utilisé l'ajustement spécial 3 fois et saisi la pente et l'interception nécessaires. Mais je ne sais pas comment faire cela en JSL. Ce n'est que la sortie que j'obtiens lorsque j'enregistre le script dans la fenêtre de 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 )} )
)
);Existe-t-il un moyen de saisir ou de personnaliser les valeurs d'interception et de pente à l'aide de JSL ?
AutreScriptRe: Fit Special Limits JSLVoici un script enregistré à l'aide de JMP 16, après avoir défini l'un des Fits sur Fit Special.Il montre comment spécifier le JSL requis
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 )} )
)
);