Is it possible to plot an image, i.e., draw it's pixels against usual coordinates? My goal is to plot my image and my function in the same coordinates.
Update
I drew an image of size 200x100
and drew a spot at 100,50
. When plotting it should coincide with actual coordinates, but it doesn't.
i.e. image takes random size and random scale both unrelated with plot size and scale. While I need each pixel be located at it's correct coordinates, not only image corner.
Update 2
Why Image
is not a Graphics
primitive or directive?
AspectRatio -> Automatic
in your plot. $\endgroup$Prolog -> Raster@Reverse@ImageData@im
$\endgroup$AspectRatio
if you specify thePlotRange
:AspectRatio -> 1/Divide @@ ImageDimensions[im]
. $\endgroup$