Hi JMP community,
I'm trying to push GraphBuilder to its limit by creating the following Heatmap plot from the attached file with additional labels (:CLASS) on the right of the main plot. I have tried to add the CLASS variable as a second Y Right Axis but it creates an independent scale that does not line up with the categories defined by the Left axis (:ASSOCIATION > :MODULE). Any trick to make this happen (the alternative is to add those labels by hand in a graphic program).
What I have so far What I'm looking for


Thanks for your help.
TS
P.S.
Here is the script for the left graph (What I have so far)
Graph Builder(
Size( 669, 634 ),
Variables(
X( :COMPARISON ),
Y( :ASSOCIATION ),
Y(
:MODULE,
Position( 1 ),
Order By( :Cluster, Ascending, Order Statistic( "Mean" ) )
),
Color( :Data )
),
Elements( Heatmap( X, Y( 2 ), Y( 1 ), Legend( 5 ) ) ),
SendToReport(
Dispatch(
{},
"COMPARISON",
ScaleBox,
{Add Ref Line( 1.5, "Solid", "Black", "", 3 )}
),
Dispatch(
{},
"ASSOCIATION",
ScaleBox,
{Label Row( 2, {Major Grid Line Color( 0 ), Show Major Grid( 1 )} )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
5,
Properties(
0,
{gradient(
{Color Theme( "Cool to Warm" ), Min Lightness( 0.1261 ),
Scale Values( [-3 0 3] ), Width( 12 )}
)},
Item ID( "Data", 1 )
)
)}
),
Dispatch(
{},
"Graph Builder",
FrameBox,
{Grid Line Order( 2 ), Reference Line Order( 3 )}
)
)
);