컬럼 스위처와 로컬 데이터 필터를 함께 연결하는 방법안녕,
다음은 제대로 작동하지 않는 스크립트입니다.
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: 열 전환기와 로컬 데이터 필터를 함께 연결하는 방법안녕 @헤게두스1 (Andy), 다음이 도움이 될 수 있습니다. https://community.jmp.com/t5/Discussions/Column-Switcher-Local-Data-Filter-and-Ref-Line-Automatically/td-p/324936
Re: 열 전환기와 로컬 데이터 필터를 함께 연결하는 방법다음은 반도체 기능 샘플 데이터 테이블을 사용하여 코드를 재작업한 것입니다.


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: 열 전환기와 로컬 데이터 필터를 함께 연결하는 방법제가 딱 필요했던 내용이네요 감사합니다. 그리고 나는 그것을 스스로 알아내지 못했을 것입니다.