一、MATLAB根據矩陣畫等高線圖+顏色填充+顏色條+數值標註

clear all Z = peaks(20); % Z 是一個矩陣 figure; [C,h]=contourf(Z,5); clabel(C,h) colorbar 結果: web
相關文章
相關標籤/搜索