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!