Hi - I'm trying to set up a color scheme to highlight outliers in one column of a data table, so that any value that lies outside a specified range is highlighted. I've been using the examples for coloring cells in the Scripting Guide to see what's possible, but I can't quite get what I want. This is what I've tried so far:
dt = open("$SAMPLE_DATA/Big Class.jmp");
// I can color specific cells of the :name column;
:name << color cells(yellow, {1, 5, 8});
// I can color a range of the :height column with a gradient;
:height << set property("Color Gradient", {"White to Green", range(50, 80)});
:height << color cell by value(1);
// I can color 12=light red, 13=light yellow, 14=light green and 15=light blue (I don't specify 16 or 17);
:age << set property("Value Colors", {12={1,0.8,0.8}, 13={1,1,.8}, 14={.8,1,.8}, 15={.8,.8,1}});
:age << color cell by value(1);
Can anyone see a simple modification of what I've been trying to do above that would, for example, paint every value in the Weight column outside the range 80-100 red? Many thanks.