cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
Phil_Nash
Level II

Multiple Values in a heat map?

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