Hello,
I am using Plots.jl with a plotly() backend and I am trying to plot more than one contour plot in the same figure with their respective color bars, since are on different orders of magnitude.
When I try the code below, I get overlapping legends in the colorbar. Any ideas on how I can fix this?
using Plots
plotly()
p3 =
contourf(
range(0,1,length=5), range(-1, 3, length = 6), rand(6,5),
contour_labels = true,
)
p4 =
contourf(
range(0,1,length=5), range(-1, 3, length = 6), (rand(6,5)*100 .+ 200),
contour_labels = true,
)
plot(
p3, p4,
layout = (1, 2),
size = (600, 250),
title = ["A" "B"],
ylabel = "y_axis",
xlabel = "x_axis",
leftmargin = 5*Plots.mm,
rightmargin = 5*Plots.mm,
tickfontsize = 11,
guidefont = 12,
titlefont = 14,
fontfamily = "ComputerModern"
)
(Julia version 1.7.0 on Pluto v0.17.3)