ttry histcounts instead of histc - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
HTML git clone git://src.adamsgaard.dk/cosmo
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 07d26edb640d2c3fd9a20b97c8f60bb2f05f01be
DIR parent 4e4b72d58b65d7e4b4b40f9906cd668200060d4e
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 9 Nov 2015 13:15:30 +0100
ttry histcounts instead of histc
Diffstat:
M matlab/generate_plots.m | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
DIR diff --git a/matlab/generate_plots.m b/matlab/generate_plots.m
t@@ -208,9 +208,10 @@ for i1 = 1:M % for each model parameter
%i1, M, iwalk, Nwalkers, isub
%subplot(5,2,isub)
subplot(M,Nwalkers,isub)
- Nhistc=histc(Ss{iwalk}.ms(i1,:),xbins{i1});
+ %Nhistc=histc(Ss{iwalk}.ms(i1,:),xbins{i1});
+ Nhistc = histcounts(Ss{iwalk}.ms(i1,:),xbins{i1});
bar(xbins{i1},Nhistc,'histc')
- delete(findobj('marker', '*'));
+
if i1 == 1
title(['MCMC walker ' num2str(iwalk)])