第一步,首先通过命令得到一副三维图,如下所示:
clear;
X_M=100;
X_space=linspace(-8,8,X_M);
P_M=100;
P_space=linspace(-8,8,P_M);
load
Wigner_function_0.1w.mat
;
figure;
subplot(2,2,1);
imagesc(P_space,X_space,real(Wigner_function));
load
Wigner_function_0.5w.mat
;
hold
on
subplot(2,2,2);
imagesc(P_space,X_space,real(Wigner_function));
load
Wigner_function_1w.mat
;
hold
on
subplot(2,2,3);
imagesc(P_space,X_space,real(Wigner_function));
load
Wigner_function_1.5w.mat
;
hold
on
subplot(2,2,4);
imagesc(P_space,X_space,real(Wigner_function));