Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
It’s World Statistics Day! To honor the theme of the day, the JMP User Community is having conversations about the importance of trust in statistics and data. And we want to hear from you! Tell us the steps you take to ensure that your data is trustworthy.
I was thinking it's not possible because Graph Builder can only have one color variable and doesn't overlay heat maps, but then I tried combining square markers with a heat map, and it creates the desired effect. I'm not sure if it works perceptually, but you can experiment with different size/marker combinations to see if can get your message across.
The main trick is to assign colors to the rows (with Rows > Color or Mark by Column) and tell the Points element in Graph Builder to ignore the variable in the color role (Properties > Points > Variables > untick C2) so only the heat map element uses it. Script below.
New Table( "double heat",
New Column( "X1", Nominal, Set Values( Mod( 0 :: 59, 6 ) + 1 ) ),
New Column( "X2", Nominal, Set Values( Floor( (0 :: 59) / 6 ) + 1 ) ),
New Column( "S1", Formula( Random Uniform() ) ),
New Column( "C1", Formula( Random Uniform() ) ),
New Column( "C2", Formula( :C1 + Random Normal() / 5 ) )
Current Data Table() << Run Formulas();
// change the rows to use square markers (could be anything)
For Each Row( Row State( Row() ) = Marker State( "Filled Square" ) );
// Color each row marker based on column C1
Current Data Table() << Color by Column( :C1, Color Theme( "Blue to Gray to Red" ) );