How to "center" the color gradient in a heatmap/contour plot

How about clims=(-1.05, 1.05).*maximum(abs, data)?

1 Like