cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.

Multiple Values in a heat map?

Phil_Nash
Level II

I have a heat map that is based off of 2 variables and it's displaying count of materials.  Is there a way that I can also include the 4 numeric values that I have in the column selector to also populate in those boxes?

 

So I want the map to still be based on count, but I want the other numeric values in those blocks we all.

 

ABC-XYZ.png

1 REPLY 1
txnelson
Super User

Re: Multiple Values in a heat map?

The only way that I know of to add additional items to the display label, is to add graphic script to the platform.  Here is an example that is just outputting text, but you can add a script that would calculate any values desired and then add them to the output.  You would have to do this for each cell

txnelson_0-1657898671718.png

names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
gb = Graph Builder(
	Size( 528, 448 ),
	Show Control Panel( 0 ),
	Variables( X( :age ), Y( :sex ) ),
	Elements( Mosaic( X, Y, Legend( 6 ), Cell Labeling( "Label by Count" ) ) )
);

gbr = report(gb);
framebox = gbr[framebox( 1 )];
framebox << Add Graphics Script(
	Text Color( "black" );
	Text( Center Justified, {.1, .75}, "the value" )
);
Jim