I want to make a matrix plot where a color function is applied to a region of a matrix. Those matrix elements which were not in the region specified should not have any color associated with them, and they should display the numerical value of that matrix element.
Specifically, I have a matrix that is 8 columns big. I want to make a matrix plot where the first seven columns to have a color function applied to them. The 8th column should simply be uncolored and should display the numerical value associated with that matrix element.
To contextualize the data, each row of the matrix represents a molecule. Each column represents the charge on a particular carbon atom. The final column is the equilibrium constant for a chemical reaction associated with each atom. The goal is to correlate the charge on each atom with the equilibrium constant.
data = {{0.462, -0.195, -0.364, -0.331, -0.248, -0.183,
0.329, -1}, {0.462, -0.195, -0.364, -0.331, -0.248, -0.183,
0.329, -1}, {0.307, -0.12, -0.332, -0.328, -0.332, -0.12, 0.307,
0.0672}, {0.22, -0.147, -0.328, -0.391, -0.328, -0.147, 0.22,
0.011}, {0.275, -0.108, -0.327, -0.344, -0.327, -0.108, 0.275,
0.0363}, {0.291, -0.164, -0.258, -0.343, -0.268, -0.164,
0.291, -1}, {0.391, -0.2, -0.242, -0.349, -0.242, -0.2,
0.391, -1}, {0.448, -0.237, -0.232, -0.333, -0.232, -0.237, 0.448,
1}, {0.472, -0.208, -0.226, -0.379, -0.226, -0.2, 0.472,
0.261}, {0.347, -0.246, -0.161, -0.359, -0.161, -0.246, 0.347, 20}}
I want the first 7 columns to have the color map. And the 8th column to display the number associated with that matrix element.