カラムスイッチャーとローカルデータフィルターを接続する方法やあ、
これが私のうまく機能していないスクリプトです。
test = Fit Group(
Oneway(
Y( :Max Discharge Capacity ),
X( :Cathode Recipe.x ),
Quantiles( 1 ),
Means( 1 ),
Box Plots( 1 ),
Mean Diamonds( 0 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 ),
),
Oneway(
Y( :"Cycle Number (>0.3)"n ),
X( :Cathode Recipe.x ),
Quantiles( 1 ),
Means( 1 ),
Box Plots( 1 ),
Mean Diamonds( 0 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 ),
),
Oneway(
Y( :"Discharge Capacity @ 50 Cycles"n ),
X( :Cathode Recipe.x ),
Quantiles( 1 ),
Means( 1 ),
Box Plots( 1 ),
Mean Diamonds( 0 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 ),
),
Oneway(
Y( :"Remain % @ 50 Cycles"n ),
X( :Cathode Recipe.x ),
Quantiles( 1 ),
Means( 1 ),
Box Plots( 1 ),
Mean Diamonds( 0 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 ),
),
<<{Arrange in Rows( 4 )}
);
colpick=test << Column Switcher(
:Cathode Recipe.x,
{:Cathode Batch ID.x, :Anode Batch ID.x, :Electrolyte Recipe.x, :Anode Recipe.x, :Separator Recipe.x, :Separator Batch ID.x}
);
test << Local Data Filter(
Add Filter(
columns( colpick<< get current ),
Display( colpick<< get current, N Items( 15 ), Find( Set Text( "" ) ) )
)
);
カラムスイッチャーが作成され、期待どおりに機能します。 私がしたいのは、列が切り替えられたときに、ローカルデータフィルターがその列のそれぞれの値で更新され、ユーザーがデータの表示をさらに洗練できるようにすることです。 私は近いと思います。 列スイッチャー列を取得して更新するには、ローカルデータフィルターをどのようにコーディングする必要がありますか?

前もって感謝します
アンディ
スクリプティングRe:カラムスイッチャーとローカルデータフィルターを接続する方法やあ@ Hegedus1 (アンディ)、これは1つの助けになるかもしれません: https://community.jmp.com/t5/Discussions/Column-Switcher-Local-Data-Filter-and-Ref-Line-Automatically/td-p/324936
Re:カラムスイッチャーとローカルデータフィルターを接続する方法これは、SemiconductorCapabilityのサンプルデータテーブルを使用してコードを作り直したものです。


Names Default To Here( 1 );
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
test = Fit Group(
Oneway(
Y( :NPN1 ),
X( :Site ),
Quantiles( 1 ),
Means( 1 ),
Box Plots( 1 ),
Mean Diamonds( 0 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 ),
),
Oneway(
Y( :PNP1 ),
X( :Site ),
Quantiles( 1 ),
Means( 1 ),
Box Plots( 1 ),
Mean Diamonds( 0 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 ),
),
Oneway(
Y( :NPN2 ),
X( :Site ),
Quantiles( 1 ),
Means( 1 ),
Box Plots( 1 ),
Mean Diamonds( 0 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 ),
),
Oneway(
Y( :PNP2 ),
X( :Site ),
Quantiles( 1 ),
Means( 1 ),
Box Plots( 1 ),
Mean Diamonds( 0 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 ),
),
<<{Arrange in Rows( 4 )}
);
// Set the Column Switcher
colpick = test << Column Switcher( :Site, {:lot_id, :wafer, :site, :wafer id in lot id} );
// Add a script to the Column Switcher to change the Local Data Filter
// whenever the selection in the Column Switcher is changed. When a change
// is detected, the existing Local Data Filter is deleted and a new one
// is created, with the new column that was selected in the Column Switcher
(test << top parent)[listboxbox( 1 )] << set script(
Try( test << remove local data filter );
mycurrent = ((test<<TOP parent=""></TOP>
Re:カラムスイッチャーとローカルデータフィルターを接続する方法それがまさに私が必要としていたものです。 そして、私はそれを自分で理解することは決してありませんでした。