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;