找回密码
 注册
关于网站域名变更的通知
查看: 823|回复: 3
打印 上一主题 下一主题

pcolor函数怎么用的,如何画伪彩色图???

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2021-7-13 13:36 | 只看该作者 回帖奖励 |正序浏览 |阅读模式

EDA365欢迎您登录!

您需要 登录 才可以下载或查看,没有帐号?注册

x
pcolor函数怎么用的,如何画伪彩色图???; n3 w  O  l* Y+ l1 M
pcolor(X,Y,C)的X,Y,C三个参数格式有什么要求,他们之间有什么关系?3 r8 ?. C" K; _* [- Y( t% [; h

该用户从未签到

4#
发表于 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. ; I( ^+ G' Y8 I* F0 S
2 |; i+ d0 ~' W/ `) M
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.
7 @1 G: f2 ?) Q3 p' o" A2 c( u# p9 L9 r, O2 w- y) Q9 q1 [+ X
pcolor(axes_handles,...) plots into the axes with handle axes_handle instead of the current axes (gca).
% G; o' q1 X( T) T4 Q* x我试着翻译一下,如下:
( L, f5 t8 @7 S  ^pcolor(C)画出一个伪彩色图。C的元素线性地对应到当前的颜色分配表中。这从C到当前颜色分配表的对应是由颜色分配表和指定坐标轴的颜色定义的。
% L: [8 s4 Q% f7 Zpcolor(X,Y,C)画出一个伪彩色图,其元素的位置由X,Y来决定。这个图形在逻辑上是矩形的, 以[X(i,j), Y(i,j)]为顶点的二维格子。X,Y是说明格子线分配的向量或者矩阵。如果X,Y是向量,X对应C的列,Y对应行。如果X,Y都是矩阵,他们必须与C同型。, |/ h1 E' o& q0 C$ H/ q4 \
pcolor(axes_handles,...) 用句柄axes_handle代替当前坐标轴来画图。

该用户从未签到

3#
发表于 2021-7-13 14:50 | 只看该作者
找help粗暴简单

该用户从未签到

2#
发表于 2021-7-13 14:50 | 只看该作者
可以help看看pcolor函数的介绍
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

EDA365公众号

关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

GMT+8, 2025-11-23 23:05 , Processed in 0.156250 second(s), 24 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表