For the interactive Capability Plot, it'd be great to show Expected % Out of Spec also. The Expected PPM may be useful for some, but for most people this is a value that needs re-calculation back to a real world metric, i.e. percentage.
This could be expanded for all platforms which are missing this value.
I came across this topic Interactive Capability Plot - possible to convert PPM to % easily? which most likely did start this idea.
Definitely not the most elegant option but here is one way to script it:
Names Default To Here(1); dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp"); obj = Process Capability(Process Variables(:PNP1), Individual Detail Reports(1)); obj << {:PNP1 << Process Capability Analysis(Interactive Capability Plot(1))}; tb = (((Report(obj)[OutlineBox("Interactive Capability Plot")][OutlineBox("New")][OutlineBox("Expected PPM")])) << child); ncb = Number Col Box("Observed %", (tb[2] << get as matrix) / 1e6); ncb << Set Format(Format("Percent", 7, 4)); Insert Into(tb, ncb); // function for slider box Eval(EvalExpr( (((((Report(obj)[OutlineBox("Interactive Capability Plot")][OutlineBox("New")]) << child) << child)<< child)[2]) << Set Function(function({this}, Expr(ncb) << Set Values((Expr(tb[2]) << get as matrix) / 1e6); )); )); // function for number edit box Eval(EvalExpr( (((((Report(obj)[OutlineBox("Interactive Capability Plot")][OutlineBox("New")]) << child) << child)<< child)[3]) << Set Function(function({this}, Expr(ncb) << Set Values((Expr(tb[2]) << get as matrix) / 1e6); )); )); // tb[2] << Visibility("Collapse");
Reference building can be made cleaner if needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.