cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

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

Differences in Control Chart Builder Syntax and Chart Display Across JMP Versions

I found that different versions of JMP display different charts when running the following script.
It seems that the syntax of the Control Chart Builder has changed, but I don't know how to fix it.
What I need is for version 18.0.1 to automatically average the prices for the same month, rather than, like the new version, simply outputting all the numbers.
dt= current datatable();
WinterChart = dt << Control Chart Builder(
	Show Sigma Report( 1 ),
	Variables( Y( :Price ), Subgroup( :Month ) ),
	Chart( Position( 1 ), Limits( Sigma( "Levey Jennings" ) ) ),
	Chart( Position( 2 ), Limits( Sigma( "Levey Jennings" ) ) ),
	Show Control Panel( 0 ),
	Where( :Type == "Winter" ),
	SendToReport( Dispatch( {}, "Control Chart Builder", OutlineBox, {Set Title( "Winter" )} ) )
);

Bright background figure is the result from version 18.0.1

Dark background figure is result from version 19.0.1
 
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Differences in Control Chart Builder Syntax and Chart Display Across JMP Versions

For these to be same for both version, you have to enable Sort By Subgroup in JMP19

Sort by Subgroup(1)

If you wish to have similar result in JMP18, create new column (or use transform column) with formula Row() and use that as your x-axis

JMP19 with Sort by Subgroup(1) (similar as your old.png)

jthi_0-1761901125605.png

JMP18 with Row (similar as your shot.png but much better (in my opinion) x-axis)

jthi_1-1761901138252.png

 

-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: Differences in Control Chart Builder Syntax and Chart Display Across JMP Versions

For these to be same for both version, you have to enable Sort By Subgroup in JMP19

Sort by Subgroup(1)

If you wish to have similar result in JMP18, create new column (or use transform column) with formula Row() and use that as your x-axis

JMP19 with Sort by Subgroup(1) (similar as your old.png)

jthi_0-1761901125605.png

JMP18 with Row (similar as your shot.png but much better (in my opinion) x-axis)

jthi_1-1761901138252.png

 

-Jarmo
BabyDoragon
Level II

Re: Differences in Control Chart Builder Syntax and Chart Display Across JMP Versions

If I append "WinterChart<< Sort by Subgroup( 1 );" below, it does make the subgroup display correctly.
However, the original program has the setting "Chart( Position( 1 ), Limits( Sigma( "Levey Jennings" ) ) )," which allows the limits to be calculated using 3 sigma.
But with the result of Sort by Subgroup( 1 ), the chart still shows as an R Chart.
How should I adjust it so that when "Sort by Subgroup( 1 )" is applied, it can still display the sigma limits based on "Levey Jennings"?
 
jthi
Super User

Re: Differences in Control Chart Builder Syntax and Chart Display Across JMP Versions

Change it from Limits settings?

jthi_1-1762407909043.png

 

-Jarmo

Recommended Articles