MatrixColormapper.jl converts matrices to images, according to colormap.
Raindrop example with PerceptualColourMaps.jl
Julia 0.6.x
Requirements: ffmpeg, imagemagick
Pkg.clone("https://github.com/Lirimy/MatrixColormapper.jl")
using MatrixColormapper
img = matshow(rand(100, 100)) # Image is displayed in Jupyter Notebook
#FileIO.save("sample.png", img)
mp4/gif supported.
using MatrixColormapper
openanim("test.gif") do aio
for i in 1:10
img = matshow(rand(100, 100))
addframe(aio, img)
end
end
Example using ColorSchemes.jl
using MatrixColormapper
using ColorSchemes
schemes # List color schemes
set_colormap(ColorSchemes.darkrainbow)
MatrixColormapper.jl contains copy and modification of Plots.jl.
Plots.jl: Copyright (c) 2015: Thomas Breloff.