When I plotted a Julia set, I used this:

    array = Array{UInt8}(size, size, 3)
    imOutput = Images.colorim(array)
    ....

then for each pixel

    imOutput.data[x, y, :] = [r, g, b]

then to output:

    FileIO.save(filename, imOutput)

Reply via email to