JMP 커뮤니티 질문 제목: JMP 16에서 로컬 데이터 필터를 사용한 그래프 빌더가 잘못된 출력을 생성합니다. (JMP 14에서는 정상 작동)안녕,
I have the following JSL code that creates a Graph Builder plot inside a For loop. It works correctly in JMP 14 but produces wrong output in JMP 16.
JMP 14 코드 (정상 작동):
</CODE></PRE>
<PRE>gb = Expr(
dt << Graph Builder(
Size( 635, 338 ),
Show Control Panel( 0 ),
Variables( X( :Time Point Months ), Y( :Result ), Overlay( :Batch ) ),
Elements(
Points( X, Y, Legend( 1 ) ),
Line Of Fit( X, Y, Legend( 2 ), Confidence of Fit( 0 ) )
),
Local Data Filter(
invisible,
Add Filter(
columns( :Component, :Batch, :Source Table ),
Where( :Component == numPar[i] ),
Where( :Batch == {cyc, bat}),
Where( :Source Table == dt_name )
)
),
SendToReport(
Dispatch(
{},
"Time Point Months",
ScaleBox,
{Min( -0.1 ), Max( maxvalts ), Inc( 2 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( numPar[i] || " vs. Time Point" )}
),
Dispatch( {},
"Y title",
TextEditBox,
{Set Text( yTitleText)}
),
Dispatch(
{},
"Result",
ScaleBox,
{Format( "Fixed Dec", 10, 3 ),
Min( Eval( minval )),
Max( Eval( maxval )),
Inc( Eval( (maxval - minval) / 10 ))}
)
)
)
);
col1 << Append(gb);<BR /><BR /><BR /><STRONG>Did the Graph Builder syntax or Local Data Filter behavior change between JMP 14 and JMP 16? How should I rewrite this to work correctly in JMP 16?</STRONG></PRE>
<PRE data-v-136e9b6a=""><CODE class="language-javascript hljs" data-v-136e9b6a="">
고급 통계 모델링자동화 및 스크립팅소비자 및 시장 조사콘텐츠 구성데이터 탐색 및 시각화실험 설계품질 및 공정 엔지니어링신뢰성 분석제목: JMP 커뮤니티 질문 제목: JMP 16에서 로컬 데이터 필터를 사용한 그래프 빌더가 잘못된 출력을 생성합니다 - JMP 14에서는 정상 작동합니다JMP16에서 그래프를 수동으로 생성하고 그래프 빌더에서 스크립트를 복사합니다.
제목: JMP 커뮤니티 질문 제목: JMP 16에서 로컬 데이터 필터를 사용한 그래프 빌더가 잘못된 출력을 생성합니다 - JMP 14에서는 정상 작동합니다제가 수동으로 그래프를 그렸는데, 스크립트는 다음과 같습니다. (그래프 출력 결과는 "1"로 첨부했습니다.)
Graph Builder(
Size( 635, 580 ),
Show Control Panel( 0 ),
Variables( X( :Time Point Months ), Y( :Result ), Overlay( :Batch ) ),
Elements(
Points( X, Y, Legend( 1 ) ),
Line Of Fit( X, Y, Legend( 2 ), Confidence of Fit( 0 ) )
),
Local Data Filter(
Close Outline( 1 ),
Add Filter(
columns( :Component, :Batch, :Source Table ),
Where( :Component == "Bacterial Endotoxin" ),
Where( :Source Table == "Subset of Stab_IcoSema_test1_test2_test4" ),
Display( :Component, N Items( 15 ), Find( Set Text( "" ) ) ),
Display( :Batch, N Items( 6 ) ),
Display( :Source Table, N Items( 2 ), "List Display" )
)
),
SendToReport(
Dispatch(
{},
"Time Point Months",
ScaleBox,
{Min( -0.1 ), Max( 19.395 ), Inc( 2 ), Minor Ticks( 1 )}
),
Dispatch( {}, "Result", ScaleBox, {Format( "Fixed Dec", 10, 3 )} ),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "Bacterial Endotoxin vs. Time Point" )}
),
Dispatch(
{},
"Y title",
TextEditBox,
{Set Text( "Content of semaglutide" )}
)
)
);
문제는 로컬 데이터 필터를 완전히 제거하고 싶은데, 제거하면 다음과 같은 결과가 나온다는 것입니다(스크린샷 2 참조).
제목: JMP 커뮤니티 질문 제목: JMP 16에서 로컬 데이터 필터를 사용한 그래프 빌더가 잘못된 출력을 생성합니다 - JMP 14에서는 정상 작동합니다그렇다면 어떻게 하면 그것을 투명하게 만들 수 있을까요?
제목: JMP 커뮤니티 질문 제목: JMP 16에서 로컬 데이터 필터를 사용한 그래프 빌더가 잘못된 출력을 생성합니다 - JMP 14에서는 정상 작동합니다완전히 숨기고 싶으신가요? 윤곽선 상자를 접은 다음 윤곽선 상자 제목을 "" 등으로 설정하면 됩니다. 그러면 거의 원하는 결과를 얻을 수 있을 겁니다.
제목: JMP 커뮤니티 질문 제목: JMP 16에서 로컬 데이터 필터를 사용한 그래프 빌더가 잘못된 출력을 생성합니다 - JMP 14에서는 정상 작동합니다어떻게 접을 수 있나요? 무슨 말씀이세요?
dt << Graph Builder(
Size( 635, 338 ),
Show Control Panel( 0 ),
Variables( X( :Time Point Months ), Y( :Result ), Overlay( :Batch ) ),
Elements(
Points( X, Y, Legend( 1 ) ),
Line Of Fit( X, Y, Legend( 2 ), Confidence of Fit( 0 ) )
),
Local Data Filter(
Close Outline( 1 ),
Add Filter(
columns( :Component, :Batch, :Source Table ),
Where( :Component == numPar[i] ),
Where( :Batch == {cyc, bat}),
Where( :Source Table == dt_name )
)
),
SendToReport(
Dispatch(
{},
"Time Point Months",
ScaleBox,
{Min( -0.1 ), Max( maxvalts ), Inc( 2 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( numPar[i] || " vs. Time Point" )}
),
Dispatch( {},
"Y title",
TextEditBox,
{Set Text( yTitleText)}
),
Dispatch(
{},
"Result",
ScaleBox,
{Format( "Fixed Dec", 10, 3 ), Min( Eval( minval )), Max( Eval( maxval )), Inc( Eval( (maxval - minval) / 10 ))},
)
)
)
제목: JMP 커뮤니티 질문 제목: JMP 16에서 로컬 데이터 필터를 사용한 그래프 빌더가 잘못된 출력을 생성합니다 - JMP 14에서는 정상 작동합니다회색 삼각형을 클릭하여 윤곽선 상자를 축소(필터를 숨기기)한 다음 제목을 비워 두세요.
이것으로부터

이것에

저는 JMP16이 없지만, 해당 스크립트는 JMP16과 상당히 유사할 것으로 예상됩니다.
Graph Builder(
Size(658, 555),
Show Control Panel(0),
Variables(X(:height), Y(:weight)),
Elements(Points(X, Y, Legend(7)), Smoother(X, Y, Legend(8))),
Local Data Filter(
Close Outline(1),
Title(""),
Add Filter(
columns(:name),
Where(
:name == {"ALFRED", "ALICE", "AMY", "BARBARA", "CAROL", "CHRIS",
"CLAY", "DANNY", "DAVID", "EDWARD", "ELIZABETH"}
),
Display(
:name,
N Items(15),
Find(Set Text(""), Contains Terms(1), Contains Phrase(0))
)
)
)
);