---------------------------------------------------------- Your MATLAB license will expire in 03 days. Please contact your system administrator or The MathWorks to renew this license. ---------------------------------------------------------- To get started, select "MATLAB Help" from the Help menu. >> pwd ans = C:\WINNT\Profiles\geology\Desktop\curt >> peaks; z = 3*(1-x).^2.*exp(-(x.^2) - (y+1).^2) ... - 10*(x/5 - x.^3 - y.^5).*exp(-x.^2-y.^2) ... - 1/3*exp(-(x+1).^2 - y.^2) >> view(3) >> view ans = 0.7934 -0.6088 0 -0.0923 0.3044 0.3967 0.8660 -0.7835 0.5272 0.6871 -0.5000 8.3031 0 0 0 1.0000 >> [az,el]=view az = -37.5000 el = 30 >> view([az,60]) >> view([0,60]) >> clf >> [X,Y,Z]=peaks; >> surf(X,Y,Z) >> mesh(X,Y,Z) >> h=get(gca,'children') h = 100.0022 >> set(h,'facecolor','k') >> close >> clear >> ls . WS_FTP.LOG curtT.mat .. curt.mat curtain.m >> load curt >> whos Name Size Bytes Class C 25x470 94000 double array lat 1x470 3760 double array lon 1x470 3760 double array t 1x470 3760 double array x 1x470 3760 double array y 1x470 3760 double array z 1x25 200 double array Grand total is 14125 elements using 113000 bytes >> curtain(lon,lat,z,C); >> curtain(x,y,z,C); >> clear >> load curtT >> whos Name Size Bytes Class T 123x500 492000 double array x 1x500 4000 double array y 1x500 4000 double array z 1x123 984 double array Grand total is 62623 elements using 500984 bytes >> curtain(x,y,z,T) ans = 100.0044 >>