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を持っていませんが、スクリプトはおそらくこれとかなり近いものだと思います。
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))
)
)
)
);