yellow.m

来自「hi i have a huge collection are you int」· M 代码 · 共 17 行

M
17
字号
function y = yellow(m)%YELLOW   Linear yellow-scale color map.%       YELLOW(M) returns an M-by-3 matrix containing a yellow-scale colormap.%       YELLOW, by itself, is the same length as the current colormap.%%       For example, to reset the colormap of the current figure:%%                 colormap(yellow)%%       See also HSV, HOT, COOL, BONE, COPPER, PINK, FLAG, %       COLORMAP, RGBPLOT.  if nargin < 1, m = size(get(gcf,'colormap'),1); endy = (0:m-1)'/max(m-1,1);y = [y y zeros(size(y))];

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?