cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

Graph Builder - Summary Statistics - select aggregation column?

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

 

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 ) )
	)
)
0 REPLIES 0

Recommended Articles