cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
%3CLINGO-SUB%20id%3D%22lingo-sub-636890%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%86%85%E3%81%AE%E7%AE%A1%E7%90%86%E5%9B%B3%E5%87%BA%E5%8A%9B%E3%81%8B%E3%82%89%E5%B7%A5%E7%A8%8B%E8%83%BD%E5%8A%9B%E5%87%BA%E5%8A%9B%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%82%88%E3%81%84%E3%81%A7%E3%81%99%E3%81%8B%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636890%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%81%AF%E3%81%84%E3%80%81%E6%AC%A1%E3%81%AE%E3%82%88%E3%81%86%E3%81%AB%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%82%82%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0A%0A%2F%2FAdd%20a%20spec%20limit%20to%20some%20sample%20data%3A%0Adt%20%3D%20Open(%20%22%24Sample_data%2FQuality%20Control%2FCoating.jmp%22%20)%3B%0Adt%3AWeight%20%26lt%3B%26lt%3B%20Set%20Property(%0A%20%22Spec%20Limits%22%2C%0A%20%7BLSL(%2018%20)%2C%20USL(%2023%20)%2C%20Show%20Limits(%200%20)%7D%0A)%3B%0A%0A%2F%2FOpen%20the%20control%20chart%20builder%20-%20the%20process%20capability%20will%20be%20opened%0Accb%20%3D%20dt%20%26lt%3B%26lt%3B%20Control%20Chart%20Builder(%0A%20Variables(%20Subgroup(%20%3ASample%20)%2C%20Y(%20%3AWeight%20)%20)%2C%0A%20Chart(%20Position(%201%20)%20)%2C%0A%20Show%20Control%20Panel(%200%20)%0A)%3B%0A%0A%2F%2FFind%20all%20process%20capability%20outline%20boxes%20and%20close%20them%0A(ccb%20%26lt%3B%26lt%3B%20XPath(%22%2F%2FOutlineBox%5B%40helpKey%3D'Capability%20Analysis'%5D%22))%20%26lt%3B%26lt%3B%20Close(1)%0A%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-636891%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%86%85%E3%81%AE%E7%AE%A1%E7%90%86%E5%9B%B3%E5%87%BA%E5%8A%9B%E3%81%8B%E3%82%89%E5%B7%A5%E7%A8%8B%E8%83%BD%E5%8A%9B%E5%87%BA%E5%8A%9B%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%82%88%E3%81%84%E3%81%A7%E3%81%99%E3%81%8B%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636891%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%81%AE%E4%B8%80%E9%83%A8%E3%81%A8%E3%81%97%E3%81%A6%20Show%20Capability%20(0)%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81%E8%83%BD%E5%8A%9B%E5%88%86%E6%9E%90%E3%81%8C%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E3%82%88%E3%81%86%E3%81%AB%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%8C%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%20%E4%BB%A5%E4%B8%8B%E3%81%AE%E7%96%91%E4%BC%BC%E4%BE%8B%3A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Eccb%20%3D%20Control%20Chart%20Builder(%0A%20Variables(%20Y(%20%3AColumnName%20)%20)%2C%0A%20Chart(%20Position(%201%20)%20)%2C%0A%20Show%20Control%20Panel(%200%20)%2C%0A%20show%20capability(%200%20)%20%2F%2F%26lt%3B--this%0A)%3B%0A%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-636896%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%86%85%E3%81%AE%E7%AE%A1%E7%90%86%E5%9B%B3%E5%87%BA%E5%8A%9B%E3%81%8B%E3%82%89%E5%B7%A5%E7%A8%8B%E8%83%BD%E5%8A%9B%E5%87%BA%E5%8A%9B%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%82%88%E3%81%84%E3%81%A7%E3%81%99%E3%81%8B%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636896%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%81%84%E3%81%84%E3%81%AD%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-636837%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%86%85%E3%81%AE%E7%AE%A1%E7%90%86%E5%9B%B3%E5%87%BA%E5%8A%9B%E3%81%8B%E3%82%89%E5%B7%A5%E7%A8%8B%E8%83%BD%E5%8A%9B%E5%87%BA%E5%8A%9B%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%82%88%E3%81%84%E3%81%A7%E3%81%99%E3%81%8B%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636837%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%83%87%E3%83%BC%E3%82%BF%E3%82%BB%E3%83%83%E3%83%88%E5%86%85%E3%81%AE%E3%81%95%E3%81%BE%E3%81%96%E3%81%BE%E3%81%AA%E5%A4%89%E6%95%B0%E3%81%AE%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E7%AE%A1%E7%90%86%E5%9B%B3%E3%82%92%E4%BD%9C%E6%88%90%E3%81%99%E3%82%8B%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%20%E3%81%9F%E3%81%A0%E3%81%97%E3%80%81%E5%88%97%E3%81%AB%E3%81%AF%E5%88%B6%E9%99%90%E3%81%8C%E3%81%82%E3%82%8B%E3%81%9F%E3%82%81%E3%80%81%E5%B7%A5%E7%A8%8B%E8%83%BD%E5%8A%9B%E5%88%86%E6%9E%90%E3%81%8C%E5%87%BA%E5%8A%9B%E3%81%AB%E8%87%AA%E5%8B%95%E7%9A%84%E3%81%AB%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82%20(%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E4%BD%9C%E6%88%90%E5%BE%8C%E3%81%AB%E6%89%8B%E5%8B%95%E3%81%A7%E6%9C%80%E5%B0%8F%E5%8C%96%E3%81%99%E3%82%8B%E3%81%AE%E3%81%A7%E3%81%AF%E3%81%AA%E3%81%8F)%20%E5%B7%A5%E7%A8%8B%E8%83%BD%E5%8A%9B%E5%88%86%E6%9E%90%E3%82%92%E8%87%AA%E5%8B%95%E7%9A%84%E3%81%AB%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%81%AB%E8%BF%BD%E5%8A%A0%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B%3F%20Jmp%2017%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-636837%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%A8%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E4%BD%9C%E6%88%90%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E5%93%81%E8%B3%AA%E3%81%8A%E3%82%88%E3%81%B3%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E3%82%A8%E3%83%B3%E3%82%B8%E3%83%8B%E3%82%A2%E3%83%AA%E3%83%B3%E3%82%B0%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Choose Language Hide Translation Bar
Abby_Collins14
Level III

How to remove process capability output from control chart output within a script?

I am writing a script to make custom control charts for various variables in a data set. However since the columns have limits, the process capability analysis is automatically produced in the output. is there any code I can add to my script to remove the process capability analysis automatically (opposed to minimizing it manually after the report is created)? Jmp 17

3 ACCEPTED SOLUTIONS

Accepted Solutions
ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to remove process capability output from control chart output within a script?

Yep, you could do this:

 

Names Default To Here( 1 );

//Add a spec limit to some sample data:
dt = Open( "$Sample_data/Quality Control/Coating.jmp" );
dt:Weight << Set Property(
	"Spec Limits",
	{LSL( 18 ), USL( 23 ), Show Limits( 0 )}
);

//Open the control chart builder - the process capability will be opened
ccb = dt << Control Chart Builder(
	Variables( Subgroup( :Sample ), Y( :Weight ) ),
	Chart( Position( 1 ) ),
	Show Control Panel( 0 )
);

//Find all process capability outline boxes and close them
(ccb << XPath("//OutlineBox[@helpKey='Capability Analysis']")) << Close(1)

View solution in original post

Re: How to remove process capability output from control chart output within a script?

You can use Show Capability (0) as part of your script to keep the capability analysis from showing up. Pseudo-example below:

ccb = Control Chart Builder(
	Variables( Y( :ColumnName ) ),
	Chart( Position( 1 ) ),
	Show Control Panel( 0 ),
	show capability( 0 ) //<--this
);

View solution in original post

ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to remove process capability output from control chart output within a script?

3 REPLIES 3
ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to remove process capability output from control chart output within a script?

Yep, you could do this:

 

Names Default To Here( 1 );

//Add a spec limit to some sample data:
dt = Open( "$Sample_data/Quality Control/Coating.jmp" );
dt:Weight << Set Property(
	"Spec Limits",
	{LSL( 18 ), USL( 23 ), Show Limits( 0 )}
);

//Open the control chart builder - the process capability will be opened
ccb = dt << Control Chart Builder(
	Variables( Subgroup( :Sample ), Y( :Weight ) ),
	Chart( Position( 1 ) ),
	Show Control Panel( 0 )
);

//Find all process capability outline boxes and close them
(ccb << XPath("//OutlineBox[@helpKey='Capability Analysis']")) << Close(1)

Re: How to remove process capability output from control chart output within a script?

You can use Show Capability (0) as part of your script to keep the capability analysis from showing up. Pseudo-example below:

ccb = Control Chart Builder(
	Variables( Y( :ColumnName ) ),
	Chart( Position( 1 ) ),
	Show Control Panel( 0 ),
	show capability( 0 ) //<--this
);
ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to remove process capability output from control chart output within a script?

Cool!

Recommended Articles