i have three arrays.
a=[5, 4, 5]
b=[4, 6, 9]
c=[10, 5, 8]
I need to identify each matrix with a color
a=1=yellow
b=2=blue
c=3= green
and finally I need to create a fourth matrix that has the highest values of each of the previous matrices
New array(whit lager numbers of the arrays a, b and c)=
d=[10, 6, 9]
but a need map of array "d" whit colors, in numbers is
d=[3, 2, 2]
d=[green, blue, blue]
I hope help me.
Thanks