cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

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

Auto scaling Y axis of control chart

Hi there, 

 

I'm pretty new to JMP and I currently have a bunch of control charts for a data set I'm analyzing. They're all saved to the data table and every time I run them I have to manually drag the y axis until the range is correct. Is there a way to edit the script so this is done automatically? 

 

I found this post but couldn't figure out how to implement into my scripts: Control Chart Builder y axis scale - can I set dynamically using JSL? 

 

Thanks!

2 REPLIES 2
Thierry_S
Super User

Re: Auto scaling Y axis of control chart

Hi,
It looks like the script captured your manual assignment of the Y axis Max and Min values. In the script, locate the line below the ScaleBox statement and delete the numbers within the parentheses for Min, Max, and Inc (leave the parentheses). Save the new script to the table and now the Control Chart will scale automatically to the data range.
Is this what you were looking for?
Best,
TS
Thierry R. Sornasse
wut1997
Level I

Re: Auto scaling Y axis of control chart

Hi there, 

 

I edited that part of my script but its still resulting in the same thing. 

It ends up looking like this: 

 

wut1997_0-1624296236978.png

 

SendToReport(
		Dispatch(
			{},
			"test",
			ScaleBox,
			{Min(), Max(), Inc(),
			Minor Ticks( 0 )}
		),
		Dispatch(
			{},
			"test",
			ScaleBox,
			{Format( "Best", 12 ), Min(),
			Max(), Inc(), Minor Ticks( 1 )}
		)

Recommended Articles