From 6ce4bbcc4e2472dc36abaad7b773b70899136c3f Mon Sep 17 00:00:00 2001 From: bma Date: Wed, 18 Oct 2017 08:48:49 +0200 Subject: [PATCH] allanplot.m: autorange and view points --- allanplot.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/allanplot.m b/allanplot.m index 441f8eb..4c9e42d 100755 --- a/allanplot.m +++ b/allanplot.m @@ -13,8 +13,9 @@ if length(col) == length(mult) data.freq = load(filename)(:,col(i)).*mult(i); data.rate = 1; [ad, S, err, tau] = allan(data, 2.^[0:nextpow2(length(data.freq))-3]./data.rate, strcat(strsplit(filename, '/'){end}, num2str(i)), 0); - loglogerr(tau, ad, err, cc(mod(i, length(cc)))) + loglogerr(tau, ad, err, strcat(cc(mod(i, length(cc))), '-s')) leg{i} = strcat(filename, ' col', num2str(col(i))); + axis(10.^ceil(log10([tau(1), tau(end)]))) hold on end legend(leg) -- 2.16.4