How can i plot a 3D graph using excel file?

Hi, there,
I have data in excel file where each column represent the different channel, like the attached file.
How can I plot the data like this fig?
Thanks!

댓글 수: 3

You could use plot3 for the curves, using linearly spaced for a fixed dimension.
However, incorporating the curved arrow and images seems a relatively difficult task.
abhilasha
abhilasha 2024년 3월 1일
i have used the plot3 but the graph is not break between the two different samples.
Chunru
Chunru 2024년 3월 4일
See the updated answer for breaking the segment using waterfall

댓글을 달려면 로그인하십시오.

 채택된 답변

Chunru
Chunru 2024년 3월 1일
편집: Chunru 2024년 3월 4일
x = readtable("https://www.mathworks.com/matlabcentral/answers/uploaded_files/1632251/data.xlsx");
waterfall(table2array(x)')

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

릴리스

R2023a

태그

질문:

2024년 3월 1일

댓글:

2024년 3월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by