cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Due to the recently reported Microsoft outage, users may be temporarily unable to access My JMP or experience a delay receiving their verification codes. If you have previously installed JMP on your computer, this outage should not impact your ability to access the software. My JMP services will be restored as soon as Microsoft resolves this issue.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

how do I add a reference lines to each control chart

In my script I am trying to add a reference line to each control chart. "Graph_line" is a list of values that I want to use as the reference lines. There are 63 items in Graph_lines which corresponds to the 63 different UNIT_MODELs that I am charting. I tried to use a for loop and I realize that this is somewhat primitive but my overall understanding of jmp right now is still low. Pleas help! Thanks

 

 

Control Chart(
	Group Size( 1 ),
	KSigma( 3 ),
	Chart Col( :Name( "Sum(BIN_COUNT, 1)" ), Individual Measurement ),
	by( :UNIT_MODEL),
	For(i = 1, i <= n items(Graph_line), i++,
	ref = Graph_line[i];
	SendToReport(
		Dispatch(
			{"Individual Measurement of Sum(BIN_COUNT, 1)"},
			"2",
			ScaleBox,
			{Add Ref Line( ref, "Solid", "Dark Blue", "", 2 )}
				)		
				)
				)
	);
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: how do I add a reference lines to each control chart

Apparently you and @bharathu

     How to add a reference line........

have the same homework assignment:-)

@ian_jmp gave a very good response to the question

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: how do I add a reference lines to each control chart

Apparently you and @bharathu

     How to add a reference line........

have the same homework assignment:-)

@ian_jmp gave a very good response to the question

Jim

Recommended Articles