surfc 開發由 X、Y 和 Z 指定的彩色參數曲麵,顏色由 Z 或 C 指定。
用法
surf(Z)
surf(X,Y,Z)
surf(X,Y,Z,C)
surf(...,'PropertyName',PropertyValue)
surf(axes_handle,...)
surfc(...)
h = surf(...)
h = surfc(...)
hsurface = surf('v6',...), hsurface = surfc('v6',...)
示例
在曲麵圖下顯示等高線圖。
[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
surfc(X,Y,Z)
輸出:

相關用法
- MATLAB surf()用法及代碼示例
- MATLAB stem3()用法及代碼示例
- MATLAB slice()用法及代碼示例
- MATLAB sphere()用法及代碼示例
- MATLAB stem()用法及代碼示例
- MATLAB meshz()用法及代碼示例
- MATLAB contour()用法及代碼示例
- MATLAB loglog()用法及代碼示例
- MATLAB ribbon()用法及代碼示例
- MATLAB comet()用法及代碼示例
- MATLAB Stairs()用法及代碼示例
- MATLAB pcolor()用法及代碼示例
- MATLAB Bar()用法及代碼示例
- MATLAB contour3()用法及代碼示例
- MATLAB barh()用法及代碼示例
- MATLAB area()用法及代碼示例
- MATLAB waterfall()用法及代碼示例
- MATLAB quiver()用法及代碼示例
- MATLAB Semilogy()用法及代碼示例
- MATLAB plotyy()用法及代碼示例
注:本文由純淨天空篩選整理自 MATLAB surfc()。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。