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 个评论

I have 4D matrix, bar3 uses 2D to plot
Did you ever find a solution to this problem? I need to do the same thing...same deaggregation plot of mag, dist, and epsilon.
Also here interested in the answer to this question.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

提问:

2017-12-26

评论:

2019-12-20

Community Treasure Hunt

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

Start Hunting!

Translated by