대답
인터페이스를 사용하여 재현하는 단계
- Broken Time Axis.jmp 데이터 테이블을여십시오.
- 그래프 —> 그래프 빌더
- 그룹을 오버레이 역할로 드롭
- X 축에서 주 삭제
- X 축의 연도
- Y 축에 CD4 + T 림프구 수를 떨어 뜨립니다.
- 그래프 간격 조정
- X 축 0-15 조정, 3 증가
- 다른 X 축 0.5-12 조정, 1 증가, 최상의 형식
- 그래프 제목 제거
- 완료를 클릭하십시오
Broken Time Axis Graph고장난 시간 축 그래프
스크립트를 사용하여 재현하는 JSL
//Broken X-axis
Names Default To Here(1);
Clear Log();
dtbroken_2# = Open( "Broken Time Axis.jmp" );
dtbroken_2# << Graph Builder(
Size( 387, 294 ),
Show Control Panel( 0 ),
Graph Spacing( 10 ),
Variables(
X( :Weeks ),
X( :Years ),
Y( :Name( "CD4+ T-lymphocyte counts" ) ),
Overlay( :Group )
),
Relative Sizes( "X", [90 222] ),
Elements(
Position( 1, 1 ),
Points( X, Y, Legend( 21 ) ),
Line( X, Y, Legend( 25 ) )
),
Elements(
Position( 2, 1 ),
Points( X, Y, Legend( 23 ) ),
Line( X, Y, Legend( 26 ) )
),
SendToReport(
Dispatch(
{},
"Weeks",
ScaleBox,
{Min( -0.387931034482759 ), Max( 14.6120689655172 ), Inc( 3 ),
Minor Ticks( 0 )}
),
Dispatch(
{},
"Years",
ScaleBox,
{Format( "Best", 12 ), Min( 0.5 ), Max( 11.6398305084746 ), Inc( 1 ),
Minor Ticks( 0 )}
),
Dispatch(
{},
"CD4+ T-lymphocyte counts",
ScaleBox,
{Min( 0 ), Max( 1211 ), Inc( 200 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model( 21, Base( 0, 25, 0 ), Base( 1, 25, 1 ) )}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
);