henry2004y / Batsrus.jl

BATSRUS/SWMF Data Processor
https://henry2004y.github.io/Batsrus.jl/dev/
MIT License
5 stars 2 forks source link

Makie support #21

Closed henry2004y closed 9 months ago

henry2004y commented 3 years ago

Recipe

Related to Issue #20, we may also want a true user recipe in Makie.

MakieLayout is a nice extension built on top of Makie to create publication quality figures and interactive plots. It basically includes all the funcationalities I want, so definitely worth a try.

Now in recent version this is merged into the main package, and they are working on unified APIs. Things will improve, but at this point I feel that many things are so hard to make them right without the main developers' help. Clearly they are lack of documentations and examples. Let's see how it goes.

GUI

As for the GUI development, GTK seems to be an ideal candidate. However, the GTK interface in Julia lacks full support for the toolkit, which makes it a little bit hard to use. I have only played with it for half a day. You can design the appearance of your window interactively, and save your in an HTML-like file.

Makie is actually good at this, with the underlying OpenGL support.

At this point GUI is not necessarily needed, if it does not speed up my own workflow.