# Plotting Posteriors

**URL:** <https://forum.dynare.org/t/plotting-posteriors/5299>\
**Category:** Dynare help (legacy posts)\
**Created:** [27 February 2016 20:14 UTC](https://forum.dynare.org/t/plotting-posteriors/5299 "2016-02-27T20:14:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjfourier](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/b782af/32.png) [@mjfourier](https://forum.dynare.org/u/mjfourier)\
**Post date:** [27 February 2016 20:14 UTC](https://forum.dynare.org/t/plotting-posteriors/5299/1 "2016-02-27T20:14:23Z")

</div>

Hi,

Is there an easy way to plot the posterior distributions after running the Metropolis Hastings?

Is there a way to do it on top of the priors and including the mode?

Thanks for any help, I am new at this.

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [2 March 2016 13:56 UTC](https://forum.dynare.org/t/plotting-posteriors/5299/2 "2016-03-02T13:56:35Z")

</div>

You have to plot this manually. In oo\_.posterior\_density you should find the posterior densities for plotting. The priors you would have to plot manually using the codes in plot\_priors.m. The mode is saved in oo\_.posterior\_mode.
