A data table with cell colors can be moved into a journal
names default to here(1);
dt =
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:name << color cells("red",{3,4,5,6,7});
dt:age << color cells("blue", {6, 8, 10});
nw = New Window("Output", <<journal);
dt << Journal;
Using an alternate methodology, the data table can be added to a non Journal window by passing it through a journal and then adding it to a standard display window
names default to here(1);
dt =
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:name << color cells("red",{3,4,5,6,7});
dt:age << color cells("blue", {6, 8, 10});
nw = new window("Outline",ob=outlinebox("data table"));
ob<<append(dt << Journal);
current journal()<<close window;
Jim