Points plot in Graph builder provides an option to calculate summary statistics.
By default, points with same x value are aggregated into one value.
Is there an option to select another column to specify groups of point which get aggregated?
e.g. to display the median height/weight for different ages - with one click.
![hogi_0-1691658929731.png hogi_0-1691658929731.png](https://community.jmp.com/t5/image/serverpage/image-id/55696i2AFD0B69FB8CDC1D/image-size/medium?v=v2&px=400)
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
Size( 437, 413 ),
Summary Statistic( "Median" ),
Graph Spacing( 4 ),
Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
Elements(
Points( X, Y, Legend( 1 ), Summary Statistic( "Median" /* ,by(:age)*/ ) ),
Smoother( X, Y, Legend( 2 ) )
)
)