0

I want to plot my data in a waterfall style in a way that each curve has a specific line style and color without having under the curves filled with a color. I am using the below code from post https://stackoverflow.com/questions/9393825/waterfall-plot-using-ribbon as an example. Is there any way to do this? I appreciate any help.

figure
xaxis = linspace(-pi/2,3/2*pi, 200);
variation = [ 0.5 1 5 10 7 3.5 8 0.6 4 7];
spectralSeries = abs(sin(xaxis)'*ones(1,10) + sin(xaxis'*variation)*0.25);
h = waterfall(spectralSeries');
cameratoolbar;

%%
set(h, 'FaceColor', 'flat');
set(h, 'FaceAlpha', 1);
set(h, 'EdgeColor', 'k');
set(h, 'FaceVertexCData', rand(10,3));
Amy
  • 11
  • 1

0 Answers0