view nextColor.m @ 809:94f0f0b0d721 feature/poroelastic

Allow functions with variable number of arguments in grid.evalOn
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 27 Jul 2018 10:13:02 -0700
parents e958ed76e484
children
line wrap: on
line source

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

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