Control Limits 열 속성을 의미합니까? 이것은 스크립팅으로 수행할 수 있지만 열 속성을 "비활성화"할 수 있는지 확실하지 않습니다. 따라서 다른 테이블/테이블 변수/변수에 저장한 다음 필요에 따라 추가/제거해야 할 수도 있습니다.
다음은 이를 수행할 수 있는 방법을 상당히 단순화한 예입니다.
// https://www.jmp.com/support/help/en/16.2/#page/jmp/example-of-control-limits.shtml#ww1447886
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Steam Turbine Historical.jmp");
dt_specs = New Table("Turbine Specs",
Add Rows(3),
New Column("Measurement", Character, Nominal, Values({"Fuel", "MW", "Cool Temp"})),
New Column("LCL", Numeric, Continuous, Values([200000, 19, 53])),
New Column("UCL", Numeric, Continuous, Values([250000, 22, 55])),
invisible
);
possible_measurements = Column(dt_specs, "Measurement") << get values;
nw = New Window("Select Limits", << modal, << return result,
V List Box(
Text Box("Select measurements to use predefined specs limits for:"),
cb_selections = Check Box(possible_measurements, << Set(1))
);
);
aa_specs = Associative Array();
For Each({selection_idx}, nw["cb_selections"],
aa_specs[possible_measurements[selection_idx]] = dt_specs[selection_idx, {"LCL", "UCL"}];
);
obj = dt << Control Chart Builder(
Show Control Panel(0),
Variables(Y(:Fuel)),
);
If(Contains(aa_specs, "Fuel"),
Eval(EvalExpr(
obj << Chart(Position(1), Set Control Limits({
LCL(Expr(aa_specs["Fuel"][1])), UCL(Expr(aa_specs["Fuel"][2]))
}))
));
);
Write();
어떻게 해야 하는지는 시작 측정 데이터, 제어 한계 테이블, 제어 차트를 표시하는 방법, 이것이 얼마나 역동적이고 강력해야 하는지, 스크립팅 기술 수준 등에 따라 다릅니다.