cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Raquel
Level III

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
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

Recommended Articles