Commit 6ce4bbcc4e2472dc36abaad7b773b70899136c3f

Authored by bmarechal
1 parent 44538abe48
Exists in master

allanplot.m: autorange and view points

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

... ... @@ -13,8 +13,9 @@
13 13 data.freq = load(filename)(:,col(i)).*mult(i);
14 14 data.rate = 1;
15 15 [ad, S, err, tau] = allan(data, 2.^[0:nextpow2(length(data.freq))-3]./data.rate, strcat(strsplit(filename, '/'){end}, num2str(i)), 0);
16   - loglogerr(tau, ad, err, cc(mod(i, length(cc))))
  16 + loglogerr(tau, ad, err, strcat(cc(mod(i, length(cc))), '-s'))
17 17 leg{i} = strcat(filename, ' col', num2str(col(i)));
  18 + axis(10.^ceil(log10([tau(1), tau(end)])))
18 19 hold on
19 20 end
20 21 legend(leg)