For example:
julia> using Images, Plots
julia> img = Images.load("cat.jpg")
355×474 Array{RGB{N0f8},2} with eltype RGB{N0f8}:
RGB{N0f8}(0.455,0.306,0.161) … RGB{N0f8}(0.694,0.647,0.655)
RGB{N0f8}(0.451,0.302,0.157) RGB{N0f8}(0.69,0.643,0.651)
RGB{N0f8}(0.451,0.302,0.157) RGB{N0f8}(0.686,0.639,0.647)
RGB{N0f8}(0.451,0.302,0.157) RGB{N0f8}(0.682,0.635,0.643)
RGB{N0f8}(0.451,0.302,0.157) RGB{N0f8}(0.678,0.631,0.639)
⋮ ⋱
RGB{N0f8}(0.678,0.004,0.004) … RGB{N0f8}(0.384,0.122,0.008)
RGB{N0f8}(0.659,0.008,0.008) RGB{N0f8}(0.38,0.122,0.02)
RGB{N0f8}(0.647,0.043,0.035) RGB{N0f8}(0.408,0.161,0.09)
RGB{N0f8}(0.729,0.149,0.141) RGB{N0f8}(0.478,0.235,0.176)
RGB{N0f8}(0.796,0.216,0.208) RGB{N0f8}(0.467,0.235,0.173)
julia> xmin, xmax, ymin, ymax = -10,10,-10,10
(-10, 10, -10, 10)
julia> xscale = range(xmin, xmax, length=size(img,1))
-10.0:0.05649717514124294:10.0
julia> yscale = range(ymin, ymax, length=size(img,2)) # note: first pixel is top left, so want that to be ymax
-10.0:0.042283298097251586:10.0
julia> plot(xscale, yscale, img, xlabel="X", ylabel="Y") # for images, yflip=true by default. Set that to false if you don't want plots to auto-flip the picture right-way up