그룹 이름으로 마커 스타일을 할당 할 수 있습니까 ?? 예를 들어이 스크립트를 사용하면 열 "평균"줄 스타일을 항상 대시 및 열 "범위"줄 스타일을 모든 페이지에서 견고하게 만들 수 있습니다. 프로세스 단계) 그래프의. 일부 내 페이지 (프로세스 단계) "평균"데이터가 없습니다. 내가 이렇게 스크립트 경우 라인 스타일은 내 플롯에서 고정되지 않습니다.
Graph Builder(
Size( 562, 477 ),
Variables( X( :date ), Y( :Mean ), Y( :Range, Position( 1 ) ) ),
Elements(
Line( X, Y( 1 ), Y( 2 ), Legend( 9 ) ),
Points( X, Y( 1 ), Y( 2 ), Legend( 10 ) )
),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
9,
Properties( 0, {Line Style( "Dashed" )} ),
Properties( 1, {Line Style( "Solid" )} )
)}
),
Dispatch( {}, "Graph Builder", FrameBox, {Marker Size( 3 )} )
)
);나는 다음 스크립트와 같이하려고 노력하고있다. "문자열"(또는 열의 특정 값)에 속성을 할당합니다. 그러나 작동하지 않습니다. 누구든지 도울 수 있니? 감사!
Properties( "Mean", {Line Style( "Dashed" )} ),<BR />Properties( "Range", {Line Style( "Dashed" )} ),
여기 내가 원했던 것과 일치한다고 생각하는 샘플이있다.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
// Set the X column to be continuous to match your sample
dt:age << modeling type( continuous );
// Set the markers
dt << color or mark by column( :sex, marker theme( solid ) );
// Create the chart
Graph Builder(
Size( 534, 490 ),
Show Control Panel( 0 ),
Variables( X( :age ), Y( :height ), Y( :weight, Position( 1 ) ), Group X( :sex ) ),
Elements(
Points( X, Y( 1 ), Y( 2 ), Legend( 8 ) ),
Line( X, Y( 1 ), Y( 2 ), Legend( 10 ) )
),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model( 10, Properties( 0, {Line Style( "Dotted" )} ) )}
)
)
);
이런 식으로 스크립트를 생성하는 가장 좋은 방법은 샘플을 대화식으로 실행하여 원하는 방식으로 가져온 다음 빨간색 삼각형 아래에서 스크립트를 저장하는 것입니다.