graphique + points + clignotantsalut,
est-il possible d'avoir des points clignotants en fonction de leur valeur en programmant avec jsl?
meilleures salutations
Re: graphique + points + clignotantcool aussi!Re: graphique + points + clignotantUne variation sur l'exemple de Ian
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = dt << Bivariate( X( :height ), Y( :weight ) );
Wait( .1 ); // make sure the graph is displayed
flashingRows = dt << getRowsWhere( :height > 65 );
shade = 0;
dt << clearRowStates;
While( 1,
shade += .05;
lightness = (Sin( shade ) + 1) / 2;
For( r = 1, r <= N Row( flashingRows ), r++,
Row State( flashingRows[r] ) = Color State( HLS Color( 0, lightness, 0 ) )
);
biv << updatewindow;
);
Re: graphique + points + clignotantcool!Re: graphique + points + clignotantJe pourrais penser à plusieurs façons de le faire, en fonction de l’effet souhaité. Le code ci-dessous peut vous aider à démarrer.
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
biv = dt << Bivariate(X(:height), Y(:weight));
flashingRows = dt << getRowsWhere(:height > 65);
While(1,
For(r = 1, r <= NRow(flashingRows), r++,
dt << clearRowStates;
Hidden(rowState(flashingRows[r])) = 1;
Wait(0.03);
);
);