I have a large set of photoluminescence spectra I need to plot. My data has 4 dimensions:
- wavelength
- angle
- excitation freq
- measured signal
So I have a 1024*4 matrix. I want to plot this either on a 3d surface with color as an extra dimension representing signal strength or in something like a volume plot where the sliced up sections are just normal colormaps. I tried something like this:
plottingmatrix=csvread('Book1.csv');
spectrum = plottingmatrix(:,1); angle = plottingmatrix(:,2); wavelenth
= plottingmatrix(:,3); S = plottingmatrix(:,4);
[X, Y, Z] = meshgrid(spectrum, angle, wavelength);
scatter3( X(:), Y(:), Z(:), [], S(:), 'filled' );
But I couldn't even get it to work anyone has any ideas how I might be able to do this?