不知道你的谱数据是如何存的,把它对应到空间的波长就行。
clear all
clc
spe_line=[850.383366 845.954173 840.504529 834.251550 827.499202 820.486313 813.386577 806.265129 799.143681 791.978810 784.792227 777.562221 770.353926 763.210767 756.241301 749.445529];
% n1=1024;
% n2=1024;
n1=4;
n2=4;
x=linspace(0,30,n1);
y=linspace(0,30,n2);
[X,Y]=meshgrid(x,y);
spe=reshape(spe_line,[n1,n2]);
mesh(X,Y,spe)
xlabel('你的x坐标 \mum')
ylabel('你的y坐标')
zlabel('你的z坐标 nm^2 \cdot \mum^2')
title('你的题目'),