Reputation: 13
The array plot is constructed using a list. I want to mark the max intensity element with a red pointer. Is it possible?
Upvotes: 1
Views: 109
Reputation: 3957
Is this what you are looking for
m = {{1, 0, 0, 0.3}, {2, 7, 0, 0.3}, {1, 0, 1, 0.7}};
ArrayPlot[m /. Last[Sort[Flatten[m]]] -> Red]
Upvotes: 1