cosmo

Front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
git clone git://src.adamsgaard.dk/cosmo
Log | Files | Refs | README | LICENSE

commit 3402cf311188dd0b6a0d8c211d9df58bbd9b7b8f
parent 77315fb555bef881b3b95155e01dd4a349a13d07
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Thu, 22 Oct 2015 16:07:54 +0200

try to fix subplot selection

Diffstat:
Mmatlab/generate_plots.m | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/matlab/generate_plots.m b/matlab/generate_plots.m @@ -182,9 +182,11 @@ end fh = [fh;figure('visible', show_figures)]; for i1 = 1:M % for each model parameter for iwalk=1:min(4,Nwalkers) % for each walker - isub = (i1-1)*4 + iwalk; - i1, M, iwalk, Nwalkers - subplot(4,Nwalkers,isub) + %isub = (i1-1)*4 + iwalk; + isub = (iwalk-1)*M + i1; + %i1, M, iwalk, Nwalkers, isub + %subplot(5,2,isub) + subplot(M,Nwalkers,isub) Nhistc=histc(Ss{iwalk}.ms(i1,:),xbins{i1}); bar(xbins{i1},Nhistc,'histc')