3D mesh to 2D plot?
3 views (last 30 days)
Show older comments
Hey, I am hoping to get some help on my recent data collection. I am trying to look at experimental results in time, intensity, and wavelength. I have successfully added the data to matlab and have the desired plot but now I need to make a plot of intensity(y) vs. wavelength(x). I can make this plot but I have another confinement to add to this problem, I need the graph to only show one line. This one line needs to be all of the intensities over time added together and not just saying plot(intensity,wavelength) which in turn puts a multitude of lines on the graph. Any help would be greatly appreciated.
0 Comments
Answers (1)
Walter Roberson
on 22 Apr 2013
Save all the data, and then afterwards do the adding and plotting.
If the wavelength ranges are not the same for all of the runs, you might need to use interp1() to interpolate to common positions in order to do the additions.
0 Comments
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!