Plotting 3D stacked bar graph with 4D data

I'm trying to make a 3D stacked bar graph from a 4-column matrix or 4D array (let's call the columns x-y-z-e). For any x-y-e combo, there are multiple z values (sort of like a stacked 3D bar graph). I want to make a plot where the Z values are a gradient, instead of discrete stacks and e as a color scale
Here's an example from different software... I'm having trouble replicating it.
Thanks for any help, and apologies if this solution is out there and I have simply missed it

4 commentaires

Ketan Bajaj
Ketan Bajaj le 26 Déc 2017
I have 4D matrix, bar3 uses 2D to plot
Jessica Feenstra
Jessica Feenstra le 12 Fév 2019
Did you ever find a solution to this problem? I need to do the same thing...same deaggregation plot of mag, dist, and epsilon.
keldstefan
keldstefan le 20 Déc 2019
Also here interested in the answer to this question.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange

Commenté :

le 20 Déc 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by