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.
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

请先登录,再进行评论。

 采纳的回答

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by