Choose Language Hide Translation Bar
Highlighted
Raquel
Level II

Control Chart Builder Subgroups with Different Specs

I have JMP 10 and would like to know if there is a way to use Control Chart Builder and add different specs for each subgroup chart (there are 3 subgroups: Material = A, B or C). The current script adds the same spec limits to all subgroup charts.

 

Control Chart Builder(
     Show Control Panel( 0 ),
     Variables(
          "Subgroup"(:Material),
          "Subgroup"(:Name( "DataLabel" ), Position( 1 )),
         "Y"(:YParameter)
     ),
     Chart(
          Position( 1 ),
          Points( Statistic( "Average" ) ),
          Limits( Sigma( "Range" ) )
     ),
     Chart(
          Position( 2 ),
          Points( Statistic( "Range" ) ),
          Limits( Sigma( "Range" ) )
     ),
     Local Data Filter(
          Location( {477, 90} ),
          Add Filter( columns( :Material ), Where( :Material == "A" ) ),
          Mode( Select( 0 ), Show( 1 ), Include( 1 ) )
     ),
     SendToReport(
          Dispatch(
               {},
               "Material",
               ScaleBox,
               {Show Major Ticks( 1 ), Show Minor Ticks( 0 ),
               Rotated Labels( "Automatic" )}
          ),
          Dispatch(
               {},
               "YParameter",
               ScaleBox,
               {Add Ref Line( 9, Solid, "Dark Blue", "Lower Spec Limit (9)" ),
               Add Ref Line( 10, Solid, "Dark Blue", "Upper Spec Limit (10)" )}
          ),
          Dispatch( {}, "Control Chart Builder", FrameBox, {Marker Size( 2 )} ),
          Dispatch( {}, "Control Chart Builder", FrameBox( 2 ), {Marker Size( 2 )} )
     )
)

1 REPLY 1
Highlighted
txnelson
Super User

Re: Control Chart Builder Subgroups with Different Specs

There is no direct way to add such spec limits. However, they can be added using a script. If you search the Discussion Forum for "Multiple Spec" you will find some examples of other discussion tracts that solved similar issues.
Jim
Article Labels

    There are no labels assigned to this post.