EDA365电子论坛网

标题: pcolor函数怎么用的,如何画伪彩色图??? [打印本页]

作者: qpggup    时间: 2021-7-13 13:36
标题: pcolor函数怎么用的,如何画伪彩色图???
pcolor函数怎么用的,如何画伪彩色图???+ a1 Z  m- }: A' d9 z* w' S( r, j5 J
pcolor(X,Y,C)的X,Y,C三个参数格式有什么要求,他们之间有什么关系?  H! N% J6 _# A

作者: xiaogegepcb    时间: 2021-7-13 14:50
可以help看看pcolor函数的介绍
作者: youOK    时间: 2021-7-13 14:50
找help粗暴简单
作者: baqiao    时间: 2021-7-13 14:54
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. 0 h( O. m& \3 H; Q
8 [* n, o6 {; E5 V8 E# p
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. . p7 x2 J8 y- D
: B4 D; z: o; _' `* `
pcolor(axes_handles,...) plots into the axes with handle axes_handle instead of the current axes (gca).
! H- A. R& T# z5 _3 Q/ ^我试着翻译一下,如下:6 y0 q! r: ]- n5 w6 o7 j
pcolor(C)画出一个伪彩色图。C的元素线性地对应到当前的颜色分配表中。这从C到当前颜色分配表的对应是由颜色分配表和指定坐标轴的颜色定义的。
5 I( L" K- I( ?+ T9 a# H: Ipcolor(X,Y,C)画出一个伪彩色图,其元素的位置由X,Y来决定。这个图形在逻辑上是矩形的, 以[X(i,j), Y(i,j)]为顶点的二维格子。X,Y是说明格子线分配的向量或者矩阵。如果X,Y是向量,X对应C的列,Y对应行。如果X,Y都是矩阵,他们必须与C同型。. j3 T  T& m( L# E0 I# ?2 p
pcolor(axes_handles,...) 用句柄axes_handle代替当前坐标轴来画图。




欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/) Powered by Discuz! X3.2