Commit 7a89fc82 authored by Emile Contal's avatar Emile Contal
Browse files

plot std instead of variance

parent d6feff5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ if opt.posterior
    if opt.plot
        [Z,IZ] = sort(Xs(:,1));
        plot(Z, mu(IZ), 'k');
        fill([Z; flipdim(Z,1)], [mu(IZ)+2*s2(IZ); flipdim(mu(IZ)-2*s2(IZ),1)], ...
        fill([Z; flipdim(Z,1)], [mu(IZ)+2*sqrt(s2(IZ)); flipdim(mu(IZ)-2*sqrt(s2(IZ)),1)], ...
             [7 8 7]/8, 'EdgeColor','None', 'FaceAlpha',.8);
    end
else