clear all; close all; % Durers matrix A = [16 3 2 13; 5 10 11 8; 9 6 7 12; 4 15 14 1]; %plotting a graph t = 0:pi/20:2*pi; y = exp(sin(t)); plot(t,y,'r-') xlabel('X Axis') ylabel('Plot Y Axis') title('this the title') % meshgrid [X,Y] = meshgrid(-8:.5:8); R = sqrt(X.^2 + Y.^2) + eps; Z = sin(R)./R; mesh(X,Y,Z,'EdgeColor','black') hidden off surf(X,Y,Z) colormap hsv colorbar surf(X,Y,Z) colormap hsv alpha(.4) surf(X,Y,Z,'FaceColor','red','EdgeColor','none') camlight left; lighting phong