Suppose I have a matrix object in R with values:
aa <- matrix(c(0,4,1,10,3,2,1,6,0), ncol=3)
And I want to make a figure similar to a figure with this scale.
Can someone help me with a function that can help me make this type of shape in R? or the name of this type of color grid with graphic art?

Juan
source share