%% plot
hold on
% surf 3 layers
h1=surf(X,Y,Z1);
h2=surf(X,Y,Z2,Z2+10); % you can modify 10 to change the color of the layer
h3=surf(X,Y,Z3,Z3+20); % you can modify 20 to change the color of the layer
alpha(h1,0.95);
alpha(h2,0.9);
alpha(h3,0.8);
% plot atom
surf(r*s_x+x_shift,r*s_y+y_shift,r*s_z+z_shift,'edgecolor','none','markerfacecolor','w')
% Text
text(3,4,10,'S_2','fontsize',16)
% plot point on surf
plot3(X(6,5),Y(6,5),Z3(6,5),'yo','markerfacecolor','y','markersize',10);
% other settings
view(150,30);
axis off
axis equal
camlight
%% logs
% mod : 2018年 11月 21日 星期三 08:52:09 CST
% mod by mm
% contact : meatball1982@163.com