home *** CD-ROM | disk | FTP | other *** search
- function w = white(m);
- %WHITE All white monochrome color map.
- % WHITE(M) returns an M-by-3 matrix containing a white colormap.
- % WHITE, by itself, is the same length as the current colormap.
- %
- % For example, to reset the colormap of the current figure:
- %
- % colormap(white)
- %
- % See also HSV, GRAY, HOT, COOL, COPPER, PINK, FLAG,
- % COLORMAP, RGBPLOT.
-
- % Copyright (c) 1984-93 by The MathWorks, Inc.
-
- if nargin < 1, m = size(get(gcf,'colormap'),1); end
- w = ones(m,3);
-