I use the the example script below to select and color the out of spec values of each measured parameter in my test data set.
I want to create a pareto/histogram plot with measured parameter names (on x-axis) and number of fail occurrences (on y axis) per parameter and order the parameter names as decreasing with no of fails/parameter (i.e. to get a parameter fail pareto plot).
The first thing comes to mind is to get the number of selected/colored cells per parameter generated by the script below and then proceed from there. How to do this via JSL?
Process Capability(
Process Variables( :NPN1, :PNP1, :PNP2 ),
Moving Range Method( Average of Moving Ranges ),
Overall Sigma Normalized Box Plots( 1 ),
Color Out of Spec Values( 1 ),
Select Out of Spec Values( 1 ),
Goal Plot( 1 ),
Capability Index Plot( 1 ),
Process Performance Plot( 0 )
);