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