liuyxpp / MakiePublication.jl

A Julia package for producing publication quality figures based on Makie.jl.
Other
112 stars 7 forks source link

Multi-panel figures? #9

Open kbarros opened 9 months ago

kbarros commented 9 months ago

Thanks for the very nice package. Is there a facility to generate multi-panel figures? Specifically, could MakiePublication.jl support the use cases illustrated below?

Here there are three vertical plots in a single column. The x-axis labels are shared, and don't need to be repeated.

image

This example splits the figure into panels both horizontally and vertically:

image

This example figure spans two columns. (In retrospect, I would have omitted the y-axis labels of the right two panels.)

image

Thanks!

liuyxpp commented 9 months ago

Currently, no. And I am not familiar with Makie's layout system, so it is unlikely there will be any supports from my side in the near future. Though, it is indeed a nice feature and a PR is definitely welcome!

Without any experiments, I am expecting MakiePublication.jl will work seamlessly with Makie's layout system. So maybe nothing has to be done inside MakiePublication.jl.