% Creating and setting up second axis
ah = gca;
original.pos = get(ah,'Position');
original.color = get(ah,'Color');
original.units = get(ah,'units');
ahpos = original.pos;
tah = axes('units',original.units,'Position',ahpos,'Box','off');
% Plot in faraway area.
hold(tah);
for j=1:5
    plot(tah,[-10 -9],[-11 -10+rand],[colors{j+5},'-'],'linewidth',2);
end

set(tah,'YTick',get(ah,'YTick'),...
    'XTick',get(ah,'XTick'),...
    'YLim',get(ah,'YLim'),...
    'XLim',get(ah,'XLim'),...
    'FontSize',get(ah,'FontSize'),...
    'XScale',get(ah,'XScale'),...
    'XDir',get(ah,'Xdir'));
axis off;
legend(tah,RR_show{6:10},'location',[0.51 0.55 0.2 0.2]);
% % % children = get(gcf,'Children');
% % % obj1pos = find(children==ah);
% % % obj2pos = find(children==tah);
% % % children(obj1pos) = tah;
% % % children(obj2pos) = ah;
% % % set(gcf,'Children',children);

