JuliaPlots / Plots.jl

Powerful convenience for Julia visualizations and data analysis
https://docs.juliaplots.org
Other
1.83k stars 353 forks source link

[FR] Flip yaxis of heatmap #4923

Open femtotrader opened 4 months ago

femtotrader commented 4 months ago

Hello,

I plot a heatmap with Plots.jl (GR backend)

It looks like

image

I haven't found a way to flip yaxis.

Is it possible or is this a missing feature?

Kind regards

julia-claxton commented 3 months ago

Try using the yflip attribute.

heatmap(rand(10,10),
    yflip = true
)

img