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
