<< view | Graphics functions | waitfor >> |
c = viridis |
c = viridis(m) |
a scalar integer value: Number of colors (256 as default value).
Viridis colormap array.
viridis returns the colormap with viridis colors.
f = figure();
surf(peaks);
view(2);
colormap('viridis');
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET