Equivalent to matplotlib kwarg "origin" in Plots.jl

Hello everyone,

In matplotlib you can control the origin of imshow plots using the “origin” kwarg: plt.imshow(image,origin='lower')
In Julia you can show an image using Plots.heatmap(image). But, is there an equivalent functionality to the “origin” kwarg in Plots? I looked at the Plots.jl documentation but could not find anything. Thank you.

Edit: thank you very much for the help. In the end combining :flip with reverse solves the problem for all my use cases (mostly seeing images with the same orientation as ds9).

You may be able to get what you need by using the kwarg flip and Julia’s base function reverse. See one example here.

What is it you want it to do?

Presumably this:

Okay. That’s yflip=true

1 Like