How to create a waterfall plot with background intensity?
9 views (last 30 days)
Show older comments
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.

P.S. The left cited from https://sites.google.com/site/canlisong07/research?tmpl=%2Fsystem%2Fapp%2Ftemplates%2Fprint%2F&showPrintDialog=1
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])
0 Comments
Answers (0)
See Also
Categories
Find more on Surface and Mesh 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!