cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Chily
Level III

Q: {Reversed Scale} script can't work at control chart builder with mutiple Y Charts

Hi,

I have one question about {Reversed Scale} script can't work at control chart builder with mutiple Y Charts.

It looks no issue on single Y control chart.

 

I built mutiple Y control charts and modified all charts Y scale to Reverse Order ,then save it to script to table.

But when I run the scrip, the Y Axis looks the same and never reversed.

Attach file is the table with script, could you help?

Is it a bug? How can I solve it? Thank you.

 

Chily_0-1671433150815.png

 

 

==============================================

Control Chart Builder(
	Size( 534, 464 ),
	Show Two Shewhart Charts( 0 ),
	Test Excluded Subgroups( 1 ),
	Show Lower Control Limit( 0 ),
	Show Control Panel( 0 ),
	Variables(
		Subgroup( :"Month Year[MEASURE_DATE]"n ),
		Subgroup( :LOT_ID, Position( 1 ) ),
		Y( :P3, :P3H, :P3L, :P3UL )
	),
	Chart(
		Points( Statistic( "Average" ), Box Plots( 1 ) ),
		Limits( Sigma( "Range" ), Show Lower Limit( 0 ), Show Upper Limit( 0 ) ),
		Process Capability Analysis(
			Overall Sigma Capability( 0 ),
			Nonconformance( 0 ),
			Within Sigma Capability( 0 ),
			Histogram( 1, Show Within Sigma Density( 0 ) )
		)
	),
	SendToReport(
		Dispatch( {}, "P3", ScaleBox, {Reversed Scale} ),
		Dispatch(
			{"P3 Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		),
		Dispatch(
			{},
			"P3H",
			ScaleBox,
			{Format( "Best", 10 ), Min( -0.494659722199707 ), Max( -0.7423333333 ), Inc( 0.05 ),
			Minor Ticks( 1 )}
		),
		Dispatch(
			{"P3H Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		),
		Dispatch(
			{},
			"P3L",
			ScaleBox,
			{Format( "Best", 10 ), Min( -0.6705555556 ), Max( -0.975 ), Inc( 0.05 ), Minor Ticks( 1 )}
		),
		Dispatch(
			{"P3L Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		),
		Dispatch( {}, "P3UL", ScaleBox, {Reversed Scale} ),
		Dispatch(
			{"P3UL Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		)
	)
)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Q: {Reversed Scale} script can't work at control chart builder with mutiple Y Charts

This is a problem with JMP that has been corrected in 17.0.  If you upgrade to 17.0, your JSL will work as expected.

However, there is a workaround that will allow this to work in earlier versions of JMP.  If you send the dispatch commands separately, then this will work as expected in older versions of JMP.

obj=Control Chart Builder(
	Size( 534, 464 ),
	Show Two Shewhart Charts( 0 ),
	Test Excluded Subgroups( 1 ),
	Show Lower Control Limit( 0 ),
	Show Control Panel( 0 ),
	Variables(
		Subgroup( :"Month Year[MEASURE_DATE]"n ),
		Subgroup( :LOT_ID, Position( 1 ) ),
		Y( :P3, :P3H, :P3L, :P3UL )
	),
	Chart(
		Points( Statistic( "Average" ), Box Plots( 1 ) ),
		Limits( Sigma( "Range" ), Show Lower Limit( 0 ), Show Upper Limit( 0 ) ),
		Process Capability Analysis(
			Overall Sigma Capability( 0 ),
			Nonconformance( 0 ),
			Within Sigma Capability( 0 ),
			Histogram( 1, Show Within Sigma Density( 0 ) )
		)
	));
	wait(1);
	obj<<
	SendToReport(
		Dispatch( {}, "P3", ScaleBox, {Reversed Scale} ),
		Dispatch(
			{"P3 Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		),
		Dispatch(
			{},
			"P3H",
			ScaleBox,
			{Format( "Best", 10 ), Min( -0.494659722199707 ), Max( -0.7423333333 ), Inc( 0.05 ),
			Minor Ticks( 1 )}
		),
		Dispatch(
			{"P3H Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		),
		Dispatch(
			{},
			"P3L",
			ScaleBox,
			{Format( "Best", 10 ), Min( -0.6705555556 ), Max( -0.975 ), Inc( 0.05 ), Minor Ticks( 1 )}
		),
		Dispatch(
			{"P3L Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		),
		Dispatch( {}, "P3UL", ScaleBox, {Reversed Scale} ),
		Dispatch(
			{"P3UL Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		)
	)
;

View solution in original post

2 REPLIES 2

Re: Q: {Reversed Scale} script can't work at control chart builder with mutiple Y Charts

This is a problem with JMP that has been corrected in 17.0.  If you upgrade to 17.0, your JSL will work as expected.

However, there is a workaround that will allow this to work in earlier versions of JMP.  If you send the dispatch commands separately, then this will work as expected in older versions of JMP.

obj=Control Chart Builder(
	Size( 534, 464 ),
	Show Two Shewhart Charts( 0 ),
	Test Excluded Subgroups( 1 ),
	Show Lower Control Limit( 0 ),
	Show Control Panel( 0 ),
	Variables(
		Subgroup( :"Month Year[MEASURE_DATE]"n ),
		Subgroup( :LOT_ID, Position( 1 ) ),
		Y( :P3, :P3H, :P3L, :P3UL )
	),
	Chart(
		Points( Statistic( "Average" ), Box Plots( 1 ) ),
		Limits( Sigma( "Range" ), Show Lower Limit( 0 ), Show Upper Limit( 0 ) ),
		Process Capability Analysis(
			Overall Sigma Capability( 0 ),
			Nonconformance( 0 ),
			Within Sigma Capability( 0 ),
			Histogram( 1, Show Within Sigma Density( 0 ) )
		)
	));
	wait(1);
	obj<<
	SendToReport(
		Dispatch( {}, "P3", ScaleBox, {Reversed Scale} ),
		Dispatch(
			{"P3 Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		),
		Dispatch(
			{},
			"P3H",
			ScaleBox,
			{Format( "Best", 10 ), Min( -0.494659722199707 ), Max( -0.7423333333 ), Inc( 0.05 ),
			Minor Ticks( 1 )}
		),
		Dispatch(
			{"P3H Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		),
		Dispatch(
			{},
			"P3L",
			ScaleBox,
			{Format( "Best", 10 ), Min( -0.6705555556 ), Max( -0.975 ), Inc( 0.05 ), Minor Ticks( 1 )}
		),
		Dispatch(
			{"P3L Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		),
		Dispatch( {}, "P3UL", ScaleBox, {Reversed Scale} ),
		Dispatch(
			{"P3UL Limit Summaries", "Process Capability Analysis", "Histogram"},
			"1",
			ScaleBox,
			{Reversed Scale}
		)
	)
;
Chily
Level III

Re: Q: {Reversed Scale} script can't work at control chart builder with mutiple Y Charts

Thank you tonya_mauldin,

It's great to know thank JMP17 had fix this bug

and thank you extra provide workaround solution for me!

 

Regards,Chily