I need to build a graph, as shown, I only need to display at different levels of other graphs. I found this:
m = 10;
n = 25;
d = 4;
S = rand([m,n,d]);
slice(S, [], [], 1:size(S,3));

Can we instead S transfer another graph, for example contour(), to get different graphs at different levels, as shown above? And if so, how?
source
share