How to create a waterfall plot with background intensity?

9 views (last 30 days)
Hello, I am trying to creat a waterfall plot like the left figures
which consists of 1D-waterfalls and peak intensity information as a rainbow color,
but I have no clue how to create it.
I tried waterfall function and surface plot (right), but it doesn't seem to be the left figures.
My data are 201 (y value along the x-axis) by 50 (the number of plots, waterfall) array.
Could you give me any comment or intuition to solve this problem?
Thank you.
Capture.PNG
I used the following code.
figure(5)
surf(z')
shading interp
colormap jet, colorbar
hold on;
plot = waterfall(z');
set(plot, 'EdgeColor', 'k','FaceColor','[1 1 1]')
view(180, 45)
hold off
xlim([0 201])

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!