I have a series of ordered points (X, Y, Z) and I want to plot a 3D histogram, any suggestions?
I'm trying to do it by this tutorial http://ift.tt/1RPIrtL , but points are random here and presented as a function. My example is easier, since i already know the points.
Furthermore, depending on the number value of each coordinate, i'd like to colour it differently. E.g. if X<50 AND Y<150 AND Z>50 then the color of the bar is blue, if not - red. Similar as in this case Conditional coloring of histogram graph in MATLAB, only in 3D.
So, if I have a series of points:
X = [32 64 32 12 56 76 65]
Y = [160 80 70 48 90 80 70]
Z = [80 70 90 20 45 60 12]
Can you help me with the code for 3D histogram with conditional coloring?
Aucun commentaire:
Enregistrer un commentaire