cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • 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!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

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.