3D plot of detach cube matrix (sequential 2D plot in one 3D) Ribbon alternative

2 views (last 30 days)
Hi everybody
Someone knows how get a detached 3D plot of a cube matrix? of 2200x6x3 with a simple plot or plot3?
in the picture below there is an example of the graph, has been realized using the graph type "RIBBON" and masked the ribbon thick to 0.01, but is not correct
than someone knows hos use "linespecs" for the ribbon or other kinds of plots. as edgecolor, linewidth, dont work in ribbon 3D plot.
I am trying a simple plot3, but something goes wrong.
%%
x=length(variable(:,1,1));
y=x'
figure, hold all
plot3(x,y,variable(:,:,1),'EdgeColor','blue')
plot3(x,y,variable(:,:,2),'EdgeColor','green')
plot3(x,y,variable(:,:,3),'EdgeColor','red')
%%
but doesn't work, ends out:

Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!