[Makie] Combining Colorbars

I am using Makie to make a surface plot. However, I am constrained by the data layout to only plot one quarter at a time (resulting in four surface calls). What I need is a colorbar that represents the global figure, whereas now I have either a colorbar that is only accurate for part of the plot, for four separate colorbars (see below).

Is there a straightforward way to achieve this?

You’d determine the overall extrema of your color data and set colorrange = (min, max) on all four surfaces. With that, each Colorbar will be the same so you can use just one.

1 Like