tcast html cells to character array, plot percentiles - 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 abf95a2e8317cf40c431c381e625746307b5c82c
(DIR) parent 1505e945793d1380f088e5264c9db195adec73bb
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 1 Dec 2015 13:12:34 +0100
cast html cells to character array, plot percentiles
Diffstat:
M matlab/generate_plots.m | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/matlab/generate_plots.m b/matlab/generate_plots.m
t@@ -578,9 +578,9 @@ for iwalk = 1:Nwalkers
% lh(2)=plot(tsfine,quants(2,:,iwalk),'k','linewidth',2)
% lh(3)=plot(tsfine,quants(3,:,iwalk),'g','linewidth',2)
- %lh2(1)=plot(-tsfine,quants2(1,:,iwalk),'r','linewidth',2); % 25%
- %lh2(2)=plot(-tsfine,quants2(2,:,iwalk),'k','linewidth',2); % 50%
- %lh2(3)=plot(-tsfine,quants2(3,:,iwalk),'r','linewidth',2); % 75%
+ lh2(1)=plot(-tsfine,quants2(1,:,iwalk),'r','linewidth',2); % 25%
+ lh2(2)=plot(-tsfine,quants2(2,:,iwalk),'k','linewidth',2); % 50%
+ lh2(3)=plot(-tsfine,quants2(3,:,iwalk),'r','linewidth',2); % 75%
%legend(lh2,'25%','median','75%','location','northwest')
axis ij
t@@ -964,5 +964,5 @@ html = [html, ...
'</table>\n'...
];
fileID = fopen(filename,'w');
-fprintf(fileID, html);
+fprintf(fileID, char(html));
fclose(fileID);