ist'</tt> option for the histogram of the chain.</p><pre class="codeinput">figure(4); clf
mcmcplot(sqrt(s2chain),[],[],<span class="string">'hist'</span>)
title(<span class="string">'Error std posterior'</span>)

<span class="comment">% add prior distribution to the plot, if it was informative</span>
<span class="keyword">if</span> res.N0&gt;0
  xl = xlim; xx = linspace(xl(1),xl(2));
  hold <span class="string">on</span>
  plot(xx,invchi1pf(xx,res.N0,sqrt(res.S20)))
  hold <span class="string">off</span>
  