JSL: 行状態の割り当て私は行状態のアイデアと実装にまだ慣れていません。
データ テーブルの最初の 50 行を選択し、ラドム マーカー (できればさまざまなマーカーと色) と色を行の状態として適用するための構文を教えてもらえますか?
ほんとうにありがとう。 ありがとう
Re: JSL: 行状態の代入
dt = Open( "$sample_data/big class.jmp" );
// http://www.jmp.com/support/help/Row_State_Functions.shtml
dt << setrowstates(
J( N Rows( dt ), 1/*cols*/,
Random Integer( 0, 15 ) * 16 // marker bits 4-7
+ Random Integer( 0, 127 ) * 256 // color bits 8-14
)
);
Data table with row states set to random colors and markersData table with row states set to random colors and markers行の状態がランダムな色とマーカーに設定されたデータ テーブル
Re: JSL: 行状態の代入Big Class サンプル データ テーブルで動作するサンプル スクリプトを次に示します。あなたが尋ねたことをどのように行うかについてのアイデアを与えると思います
names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
// To color the first 20 rows, the rows outside of that
// limit need to be excluded from the coloring
dt << select where(Row()>20);
dt << hide and exclude(1);
dt << color or mark by column("sex", marker theme(hollow));
dt << color or mark by column("age");
dt << hide and exclude(0);
dt << clear select;