Hi all, I have a 2D matrix that I want to plot as an heatmap. It is quite big though (58x58), so plotting it with
function pairwise_difference(v::Vector)::Matrix
[x - y for x in v, y in v]
end
measures_vec = [t.mean * u"W" for t in results]
distance_matrix_measures = pairwise_difference(measures_vec)
p_measures = heatmap(
[t.program for t in results],
[t.program for t in results],
distance_matrix_measures,
c=cgrad([:green, :white, :red]),
colorbar_title = "Error",
colorbar_tickfontsize = 10,
title="Differences between measured programs",
aspect_ratio = :equal, yflip = true,
xrotation = 90,
xmirror = true,
framestyle = :grid,
size = (1_000, 1_000),
grid = false,
)
gives very little labels:
Is there a way I can increase the colorbar’s label font? Thanks!