I am getting MethodError: no method matching heatmap_edges(::RecipesPipeline.Surface{Matrix{Float64}}, ::Symbol)
My code is
begin
# Create the plot
plot()
# Define colormap
colormap = :jet
# Define color range for density plot
vmin = 1e-8
vmax = 1e-2
# Create density plot
print(size(rho[1,:,:] .* v_p[1,:,:]))
density2 = heatmap!(x,z,rho[1,:,:].* v_p[1,:,:] , clim=(log(vmin), log(vmax)), xlabel="X", ylabel="Z", title="Density vs X-Z")
# Create contour plot
cont = contour!(density2, linecolor=:red, linewidth=4)
#cbr = colorbar(density, label=L"\mathbf{\rm{log}_{10}(\rho{\rm v_p})}",
#ticks=[log10(vmin), 0, log10(vmax)], ticklabels=["$vmin", "1", "$vmax"])
#savefig("plot.png")
plot(cont)
end
What can i do with
x,y
, it works fine in Python.