# Multivariate normal distribution?

**URL:** <https://discourse.julialang.org/t/multivariate-normal-distribution/107560>\
**Category:** New to Julia\
**Tags:** question, plotting\
**Created:** [December 13, 2023, 11:02am UTC](https://discourse.julialang.org/t/multivariate-normal-distribution/107560 "2023-12-13T11:02:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![disaster](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@disaster](https://discourse.julialang.org/u/disaster)\
**Post date:** [December 13, 2023, 12:17pm UTC](https://discourse.julialang.org/t/multivariate-normal-distribution/107560/3 "2023-12-13T12:17:44Z")

</div>

Sorry i found out the topic is already solved.

> [@How to plot a multivariate normal distribution?](https://discourse.julialang.org/t/how-to-plot-a-multivariate-normal-distribution/35486/7):
>
> Just a warning/note about x-y ordering when creating the Z grid: if you’re plotting as a contour/heatmap, then you’ll want to reverse the for x in X, y in Y ordering to be for y in Y, x in X so that the grid maps to the x-y axes correctly. This is subtle, as it will not always present itself as a problem depending on the parameters of the MvNormal. Here’s an example plotting a bivariate normal distribution as filled contours: using Distributions using Plots μ = [0, 0] Σ = [1 0.9; 0.9 10…

Have a nice day.

---

_[View the full topic](https://discourse.julialang.org/t/multivariate-normal-distribution/107560)._
