trixi-framework / Trixi.jl

Trixi.jl: Adaptive high-order numerical simulations of conservation laws in Julia
https://trixi-framework.github.io/Trixi.jl
MIT License
505 stars 98 forks source link

Update plotting support for Makie to preferred Makie workflow #1872

Open sloede opened 3 months ago

sloede commented 3 months ago

Maybe it has always been this way, maybe it is new, but Makie seems to be set on having a very different plotting interface than Plots.jl:

Instead of having a single plot command with myriads of arguments, it seems their approach is to compose a figure of an actual Figure object, add an Axis to it an then use various commands to add data to the axis object.

I don't know if there are plot recipes available for this new style (or something similar), but currently using Makie for ad-hoc plots is not fun. Since HOHQMesh also uses Makie, I think there is something to be gained by extending our support.