|
|
, h5 f/ l! R2 y' m Q7 S
pcolor(C) draws a pseudocolor plot. The elements of C are linearly mapped to an index into the current colormap. The mapping from C to the current colormap is defined by colormap and caxis. 4 ?: @2 T& a2 z% Q( H- B: Z
( ]; x) W3 r3 F$ u; z2 X1 ^pcolor(X,Y,C) draws a pseudocolor plot of the elements of C at the locations specified by X and Y. The plot is a logically rectangular, two-dimensional grid with vertices at the points [X(i,j), Y(i,j)]. X and Y are vectors or matrices that specify the spacing of the grid lines. If X and Y are vectors, X corresponds to the columns of C and Y corresponds to the rows. If X and Y are matrices, they must be the same size as C. : h/ c3 n; h4 w6 w$ R( d) B
) T; D/ L% X: W+ n! n) Apcolor(axes_handles,...) plots into the axes with handle axes_handle instead of the current axes (gca).
, `" ]( @/ M1 L, }9 b我试着翻译一下,如下:5 X+ ^/ R' v2 n3 N3 {% o5 u- N
pcolor(C)画出一个伪彩色图。C的元素线性地对应到当前的颜色分配表中。这从C到当前颜色分配表的对应是由颜色分配表和指定坐标轴的颜色定义的。, |( B5 b/ w' h- n$ b3 C
pcolor(X,Y,C)画出一个伪彩色图,其元素的位置由X,Y来决定。这个图形在逻辑上是矩形的, 以[X(i,j), Y(i,j)]为顶点的二维格子。X,Y是说明格子线分配的向量或者矩阵。如果X,Y是向量,X对应C的列,Y对应行。如果X,Y都是矩阵,他们必须与C同型。6 C. \0 A$ e6 `" }: D
pcolor(axes_handles,...) 用句柄axes_handle代替当前坐标轴来画图。
. H0 r( e: l, N不够专业,凑合着看吧.呵呵. |
|