3D spectrum plot with massive data sets

4 Ansichten (letzte 30 Tage)
Yudong Li
Yudong Li am 21 Mär. 2019
Kommentiert: Star Strider am 22 Mär. 2019
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.

Antworten (1)

Star Strider
Star Strider am 21 Mär. 2019
The spectrogram (link) function will likely do what you want.
  2 Kommentare
Yudong Li
Yudong Li am 22 Mär. 2019
Bearbeitet: Yudong Li am 22 Mär. 2019
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 am 22 Mär. 2019
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.

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by