usingGLMakieusingDistributionsusingLatexifyGLMakie.activate!()n=100xs=ys=range(-4,4,n)μ=[0 , 0]Σ=[10 ; 01]d=MvNormal(μ,Σ)d2=Normal()zs=[pdf(d,[x,y]) for x in xs , y in ys]# 投影到 x-z 平面数据xz=[Point3f(4,y,pdf(d2,y)/2) for y in ys]# 投影到 y-z 平面数据yz=[Point3f(x,4,pdf(d2,x)/2) for x in ys]str=latexify([0,0])fig =Figure(size=(600,600))ax =Axis3(fig[1, 1],title=L"\mu ")surface!(xs,ys,zs;space=:data)lines!(ax, xz;linewidth=3)lines!(ax, yz;linewidth=3)fig#save("./imgs/mutli-normal-dist.png",fig)