Commit a956082f authored by Simone Liuzzo's avatar Simone Liuzzo

correctors display do not cover each other

parent a83065ae
......@@ -36,7 +36,7 @@ Nc = length(dang_ang);
extracor = mod(Nc,32);
cor_per_cell_dip = squeeze(std(reshape(dang_ang((1+extracor/2):(Nc-extracor/2)),[],32),1,1));
yyaxis(ax,'right');
bar(ax,[cor_per_cell_dip],'EdgeColor','none');
bar(ax,[cor_per_cell_dip],0.5,'EdgeColor','none');
ylabel(ax,'\Delta\Theta/\Theta');
grid(ax,'on');
set(ax,'Xlim',[0 32+1],'FontSize',6);
......@@ -45,7 +45,7 @@ Nc = length(dkk);
extracor = mod(Nc,32);
cor_per_cell_quad = squeeze(std(reshape(dkk((1+extracor/2):(Nc-extracor/2)),[],32),1,1));
yyaxis(ax,'left');
bar(ax,[cor_per_cell_quad],'EdgeColor','none');
bar(ax,[cor_per_cell_quad],0.9,'EdgeColor','none');
ylabel(ax,'\DeltaK/K');
grid(ax,'on');
set(ax,'Xlim',[0 32+1],'FontSize',6);
......
......@@ -67,10 +67,10 @@ if nargin >= 4 % displays quad rotations
% colormap default;
yyaxis(ax,'left');
bar(ax,[cor_per_cell_quad],'EdgeColor','none');
bar(ax,[cor_per_cell_quad],0.5,'EdgeColor','none');
ylabel(ax,'\Theta');
yyaxis(ax,'right');
bar(ax,[cor_per_cell_dip],'EdgeColor','none');
bar(ax,[cor_per_cell_dip],0.9,'EdgeColor','none');
ax.XTick=[1:32];
ax.XTickLabel=arrayfun(@(a)num2str(a),[4:32,1:3],'un',0);
ax.XTickLabelRotation=90;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment