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 Comments

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.
i have used the plot3 but the graph is not break between the two different samples.
See the updated answer for breaking the segment using waterfall

Sign in to comment.

 Accepted Answer

x = readtable("https://www.mathworks.com/matlabcentral/answers/uploaded_files/1632251/data.xlsx");
waterfall(table2array(x)')

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Release

R2023a

Tags

Asked:

on 1 Mar 2024

Commented:

on 4 Mar 2024

Community Treasure Hunt

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

Start Hunting!