cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
CanhKhong
Level III

Heatmap - statistics options

Hi,

 

I found that heatmap set color from light to dark based on the count by default.

When I drag a continuous variable into the box "color" and it shows me the mean also by color. It's pretty cool!

If I want the heatmap shows me the sum or other statistics, do I have the option? If so, how I can do it and thanks.

 

Canh

2 ACCEPTED SOLUTIONS

Accepted Solutions
hogi
Level XII

Re: Heatmap - statistics options

You can right click on the color dropzone and go to Summary Statistics.

Sum is available  - like many other variants:

 

hogi_0-1681154152074.png

 

View solution in original post

StarfruitBob
Level VI

Re: Heatmap - statistics options

Hello @CanhKhong ,

 

After enabling a caption box in your graph, pointed to by the red arrow, you can use the options in the control panel to add more metrics.  For each statistic you want an additional "Summary Statistic" dropdown selection boxes will appear after you select a statistic in the dropdowns available.

StarfruitBob_0-1681154218325.png

 

Here's an example:

Names default to here(1);

dt = open( "SAMPLE_DATA/Big Class.jmp" );

dt << Graph Builder(
	Size( 559, 491 ),
	Fit to Window,
	Set α Level( 0.05 ),
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements(
		Heatmap( X, Y, Legend( 5 ) ),
		Caption Box(
			X,
			Y,
			Legend( 6 ),
			Summary Statistic( "Mean" ),
			Summary Statistic 2( "Median" )
		)
	)
)
Learning every day!

View solution in original post

3 REPLIES 3
hogi
Level XII

Re: Heatmap - statistics options

You can right click on the color dropzone and go to Summary Statistics.

Sum is available  - like many other variants:

 

hogi_0-1681154152074.png

 

StarfruitBob
Level VI

Re: Heatmap - statistics options

Hello @CanhKhong ,

 

After enabling a caption box in your graph, pointed to by the red arrow, you can use the options in the control panel to add more metrics.  For each statistic you want an additional "Summary Statistic" dropdown selection boxes will appear after you select a statistic in the dropdowns available.

StarfruitBob_0-1681154218325.png

 

Here's an example:

Names default to here(1);

dt = open( "SAMPLE_DATA/Big Class.jmp" );

dt << Graph Builder(
	Size( 559, 491 ),
	Fit to Window,
	Set α Level( 0.05 ),
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements(
		Heatmap( X, Y, Legend( 5 ) ),
		Caption Box(
			X,
			Y,
			Legend( 6 ),
			Summary Statistic( "Mean" ),
			Summary Statistic 2( "Median" )
		)
	)
)
Learning every day!
CanhKhong
Level III

Re: Heatmap - statistics options

Thank you!