function [col] = colorOrder(index)

col = get(gca,'colororder');

if nargin>0
    col = col(index, :);
end

