1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| subplot(1,5,5);
hold on
for i=1:nb_ev
plot(rang(2,i),i,'o')
plot(rang(3,i),i,'.')
end
col=get(gca,'color');
set(gca,'box','off','color','none','xlim',[0 360],'Ylim',[0 nb_ev+1])
ax=copyobj(gca,gcf);
set(ax,'color',col,...
'box','on',...
'ytick',[],...
'xaxislocation','top',...
'xlim',[20 110],...
'xtick',20:10:110,...
'xticklabel',num2str([20:10:110].','%.2f'), ...
'xcolor','g')
uistack(ax,'bottom');
set(gca,'xcolor','r')
xlabel('BAZ (deg)','color','r'); |
Partager