How to create a waterfall plot with background intensity?
9 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!