matlab contour3函数,MATLAB 3D函数fill3()

fill3函数可创建平面阴影和Gouraud阴影多边形。

句法

fill3(X, Y, Z, C) // It fills three-dimensional polygon. X, Y, and Z triplets specify a polygon vertices. If X, Y, or Z is a matrix, fill3 develop n polygons, where n is a number of columns in the matrix. fill3 close the polygons by linking the last vertex to the first when necessary.

C specifies color, where C is the vector or matrix of indices into the current colormap. If C is the row vector, length(C) must same size(X, 2) and size(Y, 2); if C is the column vector, length(C) must same size(X, 1) and size(Y, 1).

fill3(X, Y, Z, ColorSpec) // It fills three-dimensional polygons defined by X, Y, and Z with color specified by ColorSpec.

fill3(X1, Y1, Z1, C1, X2, Y2, Z2, C2, ...) // It specifies multiple filled three-dimensional areas.

fill3(..., 'PropertyName', PropertyValue) // It allows us to set values for specific patch properties.

h = fill3(..

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值