// Color Height column cells in BigClass.jmp according to distance from target value. nums = [1, 2]; numColors = 2; // red, blue color gradient reds = [255, 0]; greens = [0, 0]; blues = [0, 255]; t = 60; // target s = 10; // scale ( maybe this should be max - min )? For( rr = 1, rr <= N Rows(), rr++, ( // get cell value to map from 1 to 2 ( the number of colors in the gradient ) v = 1 + numColors * Abs( Column( "height" )[ rr ] - t ) / s; red = Interpolate ( v, nums, reds ); green = Interpolate ( v, nums, greens ); blue = Interpolate ( v, nums, blues ); :height << Color Cells( RGB Color( red, green, blue ), rr ); ));