Str*_*ent 5 statistics plot julia
我想叠加这两个图。在我的代码中,我只能将它们并排绘制。
using PyPlot
x = [?, ?]
y = histogram(walks[end, :], bins=20, legend=nothing)
plot(plot(x), y)
Run Code Online (Sandbox Code Playgroud)
只需将绘图功能与!版本一起使用即可。
例如:
x = randn(100).*10 .+ 100;
using Plots
histogram(x, bins=10)
plot!(80:120, rand(1:25,41))
Run Code Online (Sandbox Code Playgroud)