Changing the values of axes without resizing the image/figure in Plots.jl

You should pass x and y coordinates to plot, e.g.,

x = range(0,1000,length=size(img,1))
y = range(0,1000,length=size(img,2))
plot(x,y,img)