or maybe
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = Graph Builder(
Variables( X( :height ) ),
Elements( Points( X ), Smoother( X ) )
);
for each ({col,idx}, {:height, :weight},
gb << Add Variable( {col , Role( "Y" ), Position(1)} ));
... if you want to add all Y values into one framebox
![hogi_0-1719432187039.png hogi_0-1719432187039.png](https://community.jmp.com/t5/image/serverpage/image-id/65606i49BA679C0E7FDBA1/image-size/medium?v=v2&px=400)