나는 SN == "R06CAD00B0 (GOLD)"이라는 조건을 가진 다른 라인 유형을 플롯 (plot)

두 번째 그래프가 작동 했습니까? JMP 11에 액세스 할 수 없으므로 테스트 할 수 없습니다. 그래프 빌더에는 JMP 11에서 JMP 14까지 큰 차이가 있습니다.
txnelson, 나는 첫 번째 스크립트로 그래프를 플롯하지만 Dashed 라인은 SN "12"이며 스크립트는 작동하지 않습니다. 그건 그렇고, 내 JMP 버전은 11입니다.
다음은 속성 설정을 사용하여 SN의 특정 값에 대한 선 스타일을 변경하는 방법을 보여주는 두 개의 샘플 스크립트입니다. 첫 번째 코드는 코드를 올바르게 실행하기 위해 위치를 지정하지 않아도된다는 것을 보여줍니다. 두 번째는 위치를 지원하려는 경우 위치를 결정하고 코드에 삽입 할 수 있음을 보여줍니다.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
// Change the age column to be character and change it's name to SN,
// to mimic the SN in the graph from the first entry for the discussion
dt:age << data type( character ) << set name( "SN" );
// Change the value of the age=15 to age=15(Gold)
For Each Row( If( dt:SN == "14", dt:SN = "14(Gold)" ) );
// Create the code for the graph. Note,
theGraph = Expr(
Graph Builder(
Variables( X( :sex ), Y( :height ), Overlay( :SN ) ),
Elements( Line( X, Y, Legend( 9 ) ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
9,
Properties( 0, {Line Style( "Dashed" )}, Item ID( "14(Gold)", 1 ) )
)}
)
)
);
);
// Run the graph with all of the data
theGraph;
// Create a new table with no age 12 individuals, so the position of 15(Gold)
// changes in the graph
dt << select where( :SN != "12" );
dtNo12 = dt << subset( selected rows( 1 ), selected columns( 0 ) );
// Run the graph with the no 12 data
theGraph;
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
// Change the age column to be character and change it's name to SN,
// to mimic the SN in the graph from the first entry for the discussion
dt:age << data type( character ) << set name( "SN" );
// Change the value of the age=15 to age=15(Gold)
For Each Row( If( dt:SN == "14", dt:SN = "14(Gold)" ) );
// Create the code for the graph. Note,
theGraph = Expr(
// Find the position
Summarize( byGroup = by( :SN ) );
thePosition = Loc( byGroup, "14(Gold)" ) - 1;
Eval(
Substitute(
Expr(
Graph Builder(
Variables( X( :sex ), Y( :height ), Overlay( :SN ) ),
Elements( Line( X, Y, Legend( 9 ) ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
9,
Properties( __pos__, {Line Style( "Dashed" )}, Item ID( "14(Gold)", 1 ) )
)}
)
)
)
),
Expr( __pos__ ), thePosition
)
);
);
// Run the graph with all of the data
theGraph;
// Create a new table with no age 12 individuals, so the position of 15(Gold)
// changes in the graph
dt << select where( :SN != "12" );
dtNo12 = dt << subset( selected rows( 1 ), selected columns( 0 ) );
// Run the graph with the no 12 data
theGraph;미안 해요. 제 대답을 분명히하지 않았습니다. 귀하가 제공 한 지침은 제안 된 변경을 수행하는 데 필요한 특정 구문을 제공합니다. 그런 다음이 정보를 사용하고 구문을 사용하여 필요한 모든 그래프를 변경하는 스크립트를 사용자의 사양에 맞게 작성한다고 가정합니다.
아니, 너는 내 뜻을 이해하지 못했고, 나는 많은 그래프에서 점선으로 하나의 특별한 SN을 만들고 싶다. 복사 스크립트가 할 수 없습니다.
이 방법을 알고 있었지만 라인 유형을 변경하는 많은 그래프가 있습니다. 스크립트를 통해 어떻게 할 수 있습니까?
전설에 가라.
변경할 행을 마우스 오른쪽 버튼으로 클릭하십시오.
원하는 선 스타일을 선택하십시오.