I’m trying to visualise some 2D data using Images.jl (I’ve previously been using PyPlot and pcolormesh).
using Images, ImageView
a = [2.0 3.4 100; 34 100 2; 100 34 10]
imshow(a)
Works well.
But when I try to do the same in an IJulia Jupter notebook, with something like
colorview(Gray,a)
I just get a blank image.
How can I take a 2D array of arbitrary floating point numbers and visualise it consistently in both ImageView and IJulia please?
Also, is there a way to do something similar to pcolormesh and get an RGB image with a supplied color pallete, scaled between some vmin and vmax please?