If you have the existing graph in JMP, use the red triangle menu and either redo->relaunch->OK to see the interactive builder, or save script to script window to get a script to reproduce it.
In Graph Builder, starting from scratch, drag variables to the drop zones and pick the heat map style (and turn off the other styles if dots are showing up.)
Graph Builder
this script builds a test table and runs a graph builder script. Using ordinal for pen and date makes the axes behave the way you expect.
dt = New Table( "Untitled 2",
Add Rows( 0 ),
New Column( "date", Numeric, "ordinal", Format( "y/m/d", 12 ) ),
New Column( "pen", Numeric, "ordinal", Format( "Best", 12 ) ),
New Column( "location", Character, "Nominal" ),
New Column( "temp", Numeric, "Continuous", Format( "Best", 12 ) )
);
For( t = Today(), t <= Today() + In Days( 10 ), t += In Days( 1 ),
For( p = 1, p <= 20, p += 2,
For( io = 0, io <= 1, io += 1,
dt << addrows( 1 );
dt:date = t;
dt:pen = p;
dt:location = If( io, "inside", "outside" );
dt:temp = p + 10 * io + Random Integer( 0, 9 );
)
)
);
dt << Graph Builder(
Size( 476, 580 ),
Show Control Panel( 0 ),
Variables( X( :date ), Y( :pen ), Group Y( :location ), Color( :temp ) ),
Elements( Heatmap( X, Y, Legend( 42 ) ) )
);
Heat map
Craige