匿名用户
1级
2013-08-14 回答
PATCHnbsp;Createnbsp;patch.nbsp;PATCH(X,Y,C)nbsp;addsnbsp;thenbsp;“patch“nbsp;ornbsp;fillednbsp;2-Dnbsp;polygonnbsp;definednbsp;bynbsp;vectorsnbsp;Xnbsp;andnbsp;Ynbsp;tonbsp;thenbsp;currentnbsp;axes.nbsp;Ifnbsp;Xnbsp;andnbsp;Ynbsp;arenbsp;matricesnbsp;ofnbsp;thenbsp;samenbsp;size,nbsp;onenbsp;polygonnbsp;(“face“)nbsp;pernbsp;columnnbsp;isnbsp;added.nbsp;Cnbsp;specifiesnbsp;thenbsp;colornbsp;ofnbsp;thenbsp;face(s)nbsp;(“flat“nbsp;coloring),nbsp;ornbsp;thenbsp;verticesnbsp;(“interpolated“nbsp;coloring),nbsp;fornbsp;whichnbsp;bilinearnbsp;interpolationnbsp;isnbsp;usednbsp;tonbsp;determinenbsp;thenbsp;interiornbsp;colornbsp;ofnbsp;thenbsp;polygon.nbsp;Fornbsp;bothnbsp;vectornbsp;ornbsp;matrixnbsp;Xnbsp;andnbsp;Y,nbsp;ifnbsp;Cnbsp;isnbsp;anbsp;string,nbsp;eachnbsp;facenbsp;isnbsp;fillednbsp;withnbsp;‘color‘.nbsp;‘color‘nbsp;cannbsp;benbsp;‘r‘,‘g‘,‘b‘,‘c‘,‘m‘,‘y‘,nbsp;‘w‘,nbsp;ornbsp;‘k‘.nbsp;Ifnbsp;Cnbsp;isn