cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • See how to use the JMP Marketplace – Free tools to expand JMP capabilities. Register. July 10, 2 pm US Eastern Time.

JMP Wish List

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

One-click Expanding of the X/Y Variables in Graph Builder

JustinSuIntel_1-1614364640069.png

One Click

JustinSuIntel_3-1614364724794.png

 

1 Comment
hogi
Level XIII

This can be easily accomplished via scripting:

dummy plot as input:

Graph Builder(
	Variables( X( :weight ), Y( :weight ), Y( :height, Position( 1 ) ) ),
	Elements(
		Points( X, Y( 1 ), Y( 2 )),
		Smoother( X, Y( 1 ), Y( 2 ) )
	)
);

hogi_0-1760731885663.png

 

Names Default To Here(1)

myScript = ((current report()[OutlineBox(1)]) << get scriptable object())<< get script;
Eval(Substitute(Name Expr(myScript), Expr(Position()), {}));

the idea: replace the position() commands with something innocent.