You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
» %Note the function is vectorized<br />
» subplot(1,2,1),mesh(X,Y,f(X,Y))<br />
» title('A Mesh Plot')<br />
» subplot(1,2,2),surf(X,Y,f(X,Y))<br />
» title('A Surf Plot')<br />
Colormap.<br />
Skema warna untuk suface plots dapat dengan mudah diganti. Beberapa<br />
diantara color maps: hot, cool, gray, copper, summer, winter,bone.<br />
Menggunakan contoh di atas<br />
>>colormap(whatever you choose)<br />
>>colorbar