Something like this?
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/SAT.jmp");
dt << Delete Columns({"% Taking (2004)", "X", "Y", "Population", "Latitude", "Longitude"});
l = (dt << Get Column Names("Continuous", "String"))[1::3];
c1 = {"Green", "Yellow", "Red"};
c2 = [];
c3 = [];
For Each Row(dt,
r = Floor(Ranking Tie(dt[Row(), l])); // no idea what should be done with ties
c3 = c3 |/ r`;
);
dt << Begin Data Update;
For Each({i, idx}, l,
m = c3[0, idx];
g = Loc(m, 1);
y = Loc(m, 2);
r = Loc(m, 3);
Column(dt, i) << Color Cells({{"Green", g}, {"Yellow", y},{"Red", r}});
);
dt << End Data Update;
or like this
/*""" Gradient color cells rowwise (using whole data)
Author: jthi
Creation Date: 2025-06-08
Creation JMP Version: JMP Pro 18.2.0
"""*/
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/SAT.jmp");
dt << Delete Columns({"% Taking (2004)", "X", "Y", "Population", "Latitude", "Longitude"});
l = dt << Get Column Names("Continuous", "String");
c = [];
For Each Row(dt,
m = dt[Row(), l];
mn = (m - Min(m)) / (Max(m) - Min(m));
c = c |/ Heat Color(mn, "Cividis");
);
dt << Begin Data Update();
For Each({i, idx}, l,
cm = {};
For Each({c, idx}, c[0, idx],
v = Eval List({c, Eval List({idx})});
Insert Into(cm, Eval List({v}));
);
Eval(EvalExpr(
Column(dt, i) << Color Cells(Expr(cm));
));
);
dt << End Data Update();
-Jarmo