colormap¶
-
colormap
(name::AbstractString[, n=256]) Set the current colormap to
name
, withn
colors.name
may be one of the supported colormap names inColor.colormap
(see https://github.com/JuliaLang/Color.jl#colormaps) orjet
.
-
colormap
(array::Vector{ColorValue}) Set the current colormap to
array
.
-
colormap
() Return the current colormap.
Example¶
colormap("jet", 10)
imagesc(reshape(1:10000,100,100))