您好 - 有人可以告诉我如何使用 JMP 脚本对下面的摘要表中不等于 1 的单元格进行着色,从 N 类别(流程分类级别 1)列开始吗? 另外,这些只是示例列,还有其他 40 个列,因此我不想在脚本中指定实际的列名称。 最后,如果汇总表中的单元格被着色,该颜色是否可以应用于汇总表链接到的原始数据表?

太感谢了! 有效。
作为后续问题,如果我想创建一个带有 1 的指示符列来标记数据表中带有突出显示单元格的任何行,我该怎么做?
这是处理该问题的一种方法:

Names Default To Here( 1 );
// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dtSum = dt << Summary(
Group( :age ),
Mean( :height ),
Mean( :weight ),
Freq( "None" ),
Weight( "None" ),
statistics column name format( "column" )
);
// Get the column names of the current columns
sumColNames = dtSum << get column names(string);
// Remove the first 2 columns from the list
remove from( sumColNames, 1, 2 );
// loop across columns finding all cells > 63
For( i=1, i<= N Items( sumColNames ), i++,
// select all rows where cells are above 63
dtSum << select where( as column( dtSum, sumColNames[i]) > 63 );
// Color cells in summary table
as column(dtSum, sumColNames[i]) << Color Cells( red, dtSum << get selected rows );
// Color cells in original table
as column(dt, sumColNames[i]) << Color Cells( red, dt << get selected rows );
)