cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

Graph Builder

I would like for Graph Builder to allow for extrapolation of the fitted regression line, confidence bands, and prediction bands (if selected) based on the x-axis range.   Currently, I can easily get extrapolated graphs using a customized module in a different software system.  However, there are limitations to the customized module and I perfer to keep my statistical analyses in JMP.   

 

 

2 Comments
hogi
Level XIII

I agree, a one-click option to change the prognosis range like in Excel could help:

hogi_3-1746635104833.png

 

On the other hand, no need to wait for a new JMP version or to use another tool:
with "3" mouse clicks, this is already possible in JMP 18 (and before):


1) save the formula

hogi_0-1746634922748.png

2) add the formula column to the Y axis:

hogi_1-1746634953245.png

3) activate the formula:

hogi_2-1746635000204.png

 

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = Graph Builder(
	Variables(
		X( :height ),
		Y( :weight )
	),
	Elements(
		Points( X, Y ),
		Line Of Fit( X, Y),
	),
		SendToReport(
		Dispatch( {}, {:height}, ScaleBox,
			{Min( 0 ), Inc( 10 ), Minor Ticks( 1 )}
		),
		Dispatch( {}, {:weight}, ScaleBox, {Min( 0 )} )
	)
);
wait(1);


Caption ("save the fit");
	gb  << Update Element( 1, 1, 2, {Save Formula} );
wait(1);

Caption ("add fit curve as Formula");
gb  << Add Variable( {:"Line of Fit(weight)"n , Role( "Y" ), Position(1)} )
gb << Add Element( 1, 1, {Type( "Formula" ), X, Y(2)} );
Status changed to: Needs Info

Thank you for your request, and thank you to @hogi for providing a solution in the comments. Does that solve your request, or are you just looking for a one-click/easier option to accomplish this?