Closed
Description
Problem
I often come across the situation where I have some 3d numpy array like: data = np.random.rand(10, 10, 10)
.
Is there any way I can scatter data using their (x,y,z) projectories
. for example: data(1,1,4) = 514
, and make a 3D plot which plots point(1,1,4)
as the color data cdata
corresponding to the value 514.
What is the pythonic way to go from data to x, y, z and cdata?
Proposed solution
No response