tadd walker number to top subplot title - 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 80027b22461a7985746489a5c9537e31e67cb3f5
 (DIR) parent 0f955e37eeaccd0354be18749fd1dc4e5a5c3da7
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Mon,  9 Nov 2015 11:52:15 +0100
       
       add walker number to top subplot title
       
       Diffstat:
         M matlab/generate_plots.m             |       6 +++++-
       
       1 file changed, 5 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/matlab/generate_plots.m b/matlab/generate_plots.m
       t@@ -212,6 +212,10 @@ for i1 = 1:M % for each model parameter
            bar(xbins{i1},Nhistc,'histc')
            
            if i1 == 1
       +        title(['MCMC walker ' num2str(iwalk)])
       +    end
       +    
       +    if i1 == 1
                xlabel('Interglacial erosion rate [mm/yr]')
                text(0.02,0.98,'a', 'Units', ...
                    'Normalized', 'VerticalAlignment', 'Top')
       t@@ -328,7 +332,7 @@ for i1 = 1:M % for each model parameter
            bar(xbins{i1},Nhistc,'histc')
        
            med = median(data);
       -    plot([med, med], get(gca,'YLim'), 'm-', linewidth=2)
       +    plot([med, med], get(gca,'YLim'), 'm-')
            
            if i1 == 1
                xlabel('Interglacial erosion rate [mm/yr]')