1 year ago
#76811
ProtonChain
Making a 3d histogram from a datacube in python
So I currently have a datacube that is of dimensions 1014 by 1014 by 24. Essentially this is 24 images of size 1014 pixels by 1014 pixels. The 24 images were all taken at different times in the year
I would like to take a histogram for each of the 24 images and then plot them all as a 3d plot or 3d histogram where one of the axes is time. So essentially X = data value, y = time, z = count/frequency.
I was wondering how this could be done in matplotlib in python. I have tried mplot3d from https://matplotlib.org/2.0.2/examples/mplot3d/hist3d_demo.html but this is for 3D histograms from 2D data.
python
matplotlib
3d
histogram
0 Answers
Your Answer