tadd exhumation plot with labels, add grant info - 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 49b8f505c5155ef0e978195c121f92f7877b895c
 (DIR) parent 90f980c860c18f99c0f4c3e656a155d34e5299d8
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Thu,  3 Dec 2015 11:29:55 +0100
       
       add exhumation plot with labels, add grant info
       
       Diffstat:
         M foot.html                           |       4 +++-
         M index.php                           |      34 +++++++++++++++++++++++++++++++
         M matlab/generate_plots.m             |      19 ++++++++++++-------
       
       3 files changed, 49 insertions(+), 8 deletions(-)
       ---
 (DIR) diff --git a/foot.html b/foot.html
       t@@ -5,7 +5,9 @@
                        <div class="col l9 s12">
                            <h5 class="white-text">Acknowledgements</h5>
                            <p class="grey-text text-lighten-4">
       -                    This website is supported by grant ##-###-## by XXXXXX.
       +                    This website is supported by grant VKR023114 by the Villum
       +                    Foundation and a grant by the Aarhus University Research
       +                    Foundation.
        
                            All rights reserved.
                            </p>
 (DIR) diff --git a/index.php b/index.php
       t@@ -291,6 +291,40 @@ if (isset($_GET['wait_id']) && !empty($_GET['wait_id'])) {
                    </div>
        
                    <div class="row">
       +                <!--<div class="col s12 m8 offset-m2">-->
       +              <div class="col s12">
       +                <div class="card">
       +                  <div class="card-image">
       +                  <img src="output/<?php
       +                        echo($_GET['results_id']); ?>_Walks-8.png">
       +                        <!--
       +                        <span class="card-title blue-text text-darken-2">
       +                        Erosion history</span>-->
       +                  </div>
       +                  <div class="card-content">
       +                      <h5 class="blue-text">
       +                          Exhumation history</h5>
       +                      <p>
       +                      Mean and 25 and 75 percentiles of sample exhumation
       +                      history, one figure per MCMC walker.
       +                      </p>
       +                  </div>
       +                  <div class="card-action">
       +                  <a href="output/<?php
       +                        echo($_GET['results_id']); ?>_Walks-8.png"
       +                    target="_blank">Link to PNG</a>
       +                  <a href="output/<?php
       +                        echo($_GET['results_id']); ?>_Walks-8.pdf"
       +                    target="_blank">Link to PDF</a>
       +                  <a href="output/<?php
       +                        echo($_GET['results_id']); ?>_Walks-8.fig"
       +                    target="_blank">Link to FIG</a>
       +                  </div>
       +                </div>
       +              </div>
       +            </div>
       +
       +            <div class="row">
                      <div class="col s12">
                        <div class="card">
                          <div class="card-image">
 (DIR) diff --git a/matlab/generate_plots.m b/matlab/generate_plots.m
       t@@ -524,14 +524,14 @@ linkaxes(axh,'x')
        
        %% Exhumation history from InspectDepthConcTracks_True_plot.m
        disp('Exhumation history');
       -%fh = [fh;figure('visible', show_figures)];
       +fh = [fh;figure('visible', show_figures)];
        for iwalk = 1:Nwalkers
            % iwalk=input(['What iwalk?[1..',num2str(length(Ss)),']']),
            
            % if all walker results are written to a single figure, it exceeds
            % system memory limits
       -    %subplot(Nwalkers,1,iwalk)
       -    fh = [fh;figure('visible', show_figures)];
       +    subplot(Nwalkers,1,iwalk)
       +    %fh = [fh;figure('visible', show_figures)];
            
            lump_MetHas = Ss{iwalk}.lump_MetHas;
            fixed_stuff = Ss{iwalk}.fs;
       t@@ -591,17 +591,22 @@ for iwalk = 1:Nwalkers
            E_25(iwalk) = quants2(1, 2001, iwalk);
            E_50(iwalk) = quants2(2, 2001, iwalk);
            E_75(iwalk) = quants2(3, 2001, iwalk);
       +    
       +    axis([0 1e6 0 25])
       +    %caxis([0 25])
       +    set (gca,'xtick',[0:0.1e5:1e6]);
       +    set (gca,'ytick',[0:3:12]);
       +    xlabel('Time BP [yr]')
       +    ylabel('Depth beneath terrain [m]')
        end
        colormap(1-copper(15))
        %subplot(2,2,1);
        %title(fn,'interpreter','none')
        %axis([-2e6 0 0 40])
       -axis([0 1e6 0 25])
       -caxis([0 25])
       +
        %colorbar
        %set (gca,'xtick',[-2e6:0.2e6:0]);
       -set (gca,'xtick',[0:0.1e5:1e6]);
       -set (gca,'ytick',[0:3:12]);
       +
        %XTicksAt = ([-2e6:0.2e6:0]);