I am using the heatmap function in Plots.jl to plot densities in a plane. The colorbar should have a legend with an explanation “…”. I use the following code:
Heatmap = heatmap!(x,y,HeatmapData, c = :thermal,xlabel = “Local Time [h]”,ylabel = “Latitude [°]”,zlabel = “Density [particles / cm^3]”)
heatmap(titlefont=font(12,“Helvetica”),guidefont=font(12,“Helvetica”), labelfont=font(12,“Helvetica”), xtickfontsize=10,ytickfontsize=10,legendfont=(12,“Helvetica”),xticks=[0, 6, 12, 18, 24])
The plot looks like expected but the ticks of the colorbar are cut-off and so is the colorbar label. If I scale the numbers down it also occurs that the label lays on top of the ticks.
I appreciate your help!