tdisplay output values with correct units - 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 90f980c860c18f99c0f4c3e656a155d34e5299d8
(DIR) parent 4607a4e52160802708e8494f076242e21e5fc730
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 3 Dec 2015 11:14:41 +0100
display output values with correct units
Diffstat:
M matlab/generate_plots.m | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
---
(DIR) diff --git a/matlab/generate_plots.m b/matlab/generate_plots.m
t@@ -861,19 +861,19 @@ html = ['\n' ...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Be concentration</td>\n'...
- ' <td>' num2str(be_conc) ' atoms/g</td>\n'...
+ ' <td>' num2str(be_conc/1000.) ' atoms/g</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Al concentration</td>\n'...
- ' <td>' num2str(al_conc) ' atoms/g</td>\n'...
+ ' <td>' num2str(al_conc/1000.) ' atoms/g</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>C concentration</td>\n'...
- ' <td>' num2str(c_conc) ' atoms/g</td>\n'...
+ ' <td>' num2str(c_conc/1000.) ' atoms/g</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Ne concentration</td>\n'...
- ' <td>' num2str(ne_conc) ' atoms/g</td>\n'...
+ ' <td>' num2str(ne_conc/1000.) ' atoms/g</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Be conc. uncertainty</td>\n'...
t@@ -897,35 +897,35 @@ html = ['\n' ...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Be production (spallation)</td>\n'...
- ' <td>' num2str(be_prod_spall) ' atoms/g/yr</td>\n'...
+ ' <td>' num2str(be_prod_spall/1000.) ' atoms/g/yr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Al production (spallation)</td>\n'...
- ' <td>' num2str(al_prod_spall) ' atoms/g/yr</td>\n'...
+ ' <td>' num2str(al_prod_spall/1000.) ' atoms/g/yr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>C production (spallation)</td>\n'...
- ' <td>' num2str(c_prod_spall) ' atoms/g/yr</td>\n'...
+ ' <td>' num2str(c_prod_spall/1000.) ' atoms/g/yr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Ne production (spallation)</td>\n'...
- ' <td>' num2str(ne_prod_spall) ' atoms/g/yr</td>\n'...
+ ' <td>' num2str(ne_prod_spall/1000.) ' atoms/g/yr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Be production (muons)</td>\n'...
- ' <td>' num2str(be_prod_muons) ' atoms/g/yr</td>\n'...
+ ' <td>' num2str(be_prod_muons/1000.) ' atoms/g/yr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Al production (muons)</td>\n'...
- ' <td>' num2str(al_prod_muons) ' atoms/g/yr</td>\n'...
+ ' <td>' num2str(al_prod_muons/1000.) ' atoms/g/yr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>C production (muons)</td>\n'...
- ' <td>' num2str(c_prod_muons) ' atoms/g/yr</td>\n'...
+ ' <td>' num2str(c_prod_muons/1000.) ' atoms/g/yr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><sup>10</sup>Ne production (muons)</td>\n'...
- ' <td>' num2str(ne_prod_muons) ' atoms/g/yr</td>\n'...
+ ' <td>' num2str(ne_prod_muons/1000.) ' atoms/g/yr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td>Rock density</td>\n'...
t@@ -933,13 +933,13 @@ html = ['\n' ...
' </tr>\n'...
' <tr>\n'...
' <td>ε<sub>gla</sub></td>\n'...
- ' <td>' num2str(epsilon_gla_min) ...
- ' to ' num2str(epsilon_gla_max) ' m/Myr</td>\n'...
+ ' <td>' num2str(epsilon_gla_min*1000.) ...
+ ' to ' num2str(epsilon_gla_max*1000.) ' m/Myr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td>ε<sub>int</sub></td>\n'...
- ' <td>' num2str(epsilon_int_min) ...
- ' to ' num2str(epsilon_int_max) ' m/Myr</td>\n'...
+ ' <td>' num2str(epsilon_int_min*1000.) ...
+ ' to ' num2str(epsilon_int_max*1000.) ' m/Myr</td>\n'...
' </tr>\n'...
' <tr>\n'...
' <td><i>t</i><sub>degla</sub></td>\n'...