Multiple chart types in Plots.jl

Is it possible to have multiple chart types in a subplot using Plots.jl ? (the same way one could do it with PlotlyJS) I ideally would like to combine a contourf with a regular line plot (see example below)

Reference: Multiple chart types in Julia

Sure why not?

julia> using Plots

julia> contour(rand(100, 100))

julia> plot!(cumsum(rand(100)), color = :black, lw = 3)

1 Like

It might sounds obvious if one is used to Plots.jl, but PlotlyJS.jl use another principle where it plots a vector of plots where each plot can have a different chart type. I have not seen something similar with Plots.jl.

1 Like