안녕
영구적으로 형식을 변경하려고합니다.
1) 빨간색 점선 제어 한계
2) 빨간색 실선에 대한 사양 제한
<기본 설정> 플랫폼 내에서 색상을 변경할 수 있지만 선 종류는 변경할 수 없습니다.이 작업을 수행하기 위해 사용자 정의를 계속하고 싶지 않습니다.
그것이 스크립트 문제라면, 이것을 어떻게 영속시킬 수 있는지 알려주십시오. 여전히 초보자입니다.
미리 감사드립니다
관리도를 플로팅하고 선 형식을 사용자 정의하여 시작하십시오.
(JMP의 샘플 데이터에서 Big Class 예제 데이터를 사용했습니다.)
그런 다음이를 위해 JSL 스크립트를 캡처하십시오. 제어 차트 작성기 빨간색 삼각형 메뉴> 스크립트 저장> 스크립트 창으로 :
Control Chart Builder(
Size( 508, 438 ),
Show Control Panel( 0 ),
Show Capability( 0 ),
Variables( Y( :height ) ),
SendToReport(
Dispatch(
{},
"Control Chart Builder",
FrameBox,
{DispatchSeg( Line Seg( 3 ), {Line Style( "Dotted" )} ),
DispatchSeg( Line Seg( 4 ), {Line Style( "Dotted" )} )}
)
)
이 스크립트를 실행하면 사용자 지정 (이 경우 점선)과 동일한 컨트롤 차트가 다시 생성됩니다.
이제 다른 Y 변수를 지정할 수 있도록 스크립트를 사용자 정의 할 수 있습니다.
시작시 열 대화 상자를 표시하는이 스 니펫을 추가하십시오.
//This bit creates a new object called col_dlg using the Column Dialog function
col_dlg = Column Dialog(
_yVar = ColList( "Y, Variable" )
);
그런 다음 제어 차트 스크립트에서 변수 Y를 col_dlg의 변수 Y를 참조하는 약간의 JSL로 대체하십시오. :
col_dlg["_yVar"]
최종 스크립트는 다음과 같아야합니다.
//This version generalises to any (continuous) column in the current data table
//This is done by using the Column Dialog function
//And then substituting in col_dlg"_yVar" for the column name
//This bit creates a new object called col_dlg using the Column Dialog function
col_dlg = Column Dialog(
_yVar = ColList( "Y, Variable" )
);
//This bit is as before but substituting in col_dlg"_yVar"
Control Chart Builder(
Show Capability( 0 ),
Variables( Y( col_dlg["_yVar"] ) ),
SendToReport(
Dispatch(
{},
"Control Chart Builder",
FrameBox,
{DispatchSeg( Line Seg( 3 ), {Line Style( "Dotted" )} ),
DispatchSeg( Line Seg( 4 ), {Line Style( "Dotted" )} )}
)
)
);
이게 도움이 되길 바란다.
필