view nextColor.m @ 769:e958ed76e484 feature/grids

Add function to find next color of a plot
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 26 Jun 2018 16:59:03 +0200
parents
children
line wrap: on
line source

function c = nextColor(ah)
    default_arg('ah', gca);

    c = ah.ColorOrder(ah.ColorOrderIndex, :);
end