c = flag
c = flag(m)
| Parameter | Description |
|---|---|
| m | a scalar integer value: Number of colors (256 as default value). |
| Parameter | Description |
|---|---|
| c | Flag colormap array. |
flag returns the colormap with flag colors.
f = figure();
surf(peaks);
colormap('flag');
| Version | Description |
|---|---|
| 1.0.0 | initial version |