ttry to fix subplot selection - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
 (HTM) git clone git://src.adamsgaard.dk/cosmo
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 3402cf311188dd0b6a0d8c211d9df58bbd9b7b8f
 (DIR) parent 77315fb555bef881b3b95155e01dd4a349a13d07
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Thu, 22 Oct 2015 16:07:54 +0200
       
       ttry to fix subplot selection
       
       Diffstat:
         M matlab/generate_plots.m             |       8 +++++---
       
       1 file changed, 5 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/matlab/generate_plots.m b/matlab/generate_plots.m
       t@@ -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')