3D spectrum plot with massive data sets

4 次查看(过去 30 天)
Hi, I'm new to the matlab, but I want to draw a plot like the attached picture with time, wavenumber and intensity as the three axis. Those data will be extracted from an excel file. What code/function should I use? Thank you so much.

回答(1 个)

Star Strider
Star Strider 2019-3-21
The spectrogram (link) function will likely do what you want.
  2 个评论
Yudong Li
Yudong Li 2019-3-22
编辑:Yudong Li 2019-3-22
Hi Star,
Thank you for your answer. I don't really need fourier transform, because the data I have in my excel file is already ready to be plotted, which includes intensity, wavelength of hundred spectrum in order of time. What I need to do is to extract data from the spreadsheet and plot all the spectrum in a 3d figure. In a word, I would like to write a code to extract data from spreadsheet and plot them in 3d. Please see the atttached figure for reference. Thank you!
Star Strider
Star Strider 2019-3-22
My pleasure!
There are several options:
Surface plot: surf (link)
Line plot: plot3 (link)
Ribbon plot: ribbon (link)
One of these should do what you want. They all have links to other plot functions and to the individual plot properties, so the plot will have the appearance you want.
The view (link) function will also be helpful.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by