Hi!
I try to use surface color in python, but I haven’t understood the example in documentation. May someone helps me?
surf =go.Surface(x=X1,y=Y1,z=Z1, surfacecolor=intensity)
X1, Y1, Z1 are two-dimensional arrays.
intensity – three-dimensional array, first and second idexes correspond to X1 and Y1, third is for RGB: intensity[:,:,0] is for red, intensity[:,:,1] is for green and intensity[:,:,2] is for blue.
What should I do to assign RGB numbers to surfacecolor?
Thanks in advance!