view nextColor.m @ 1277:dc0ef82e3ec7 feature/poroelastic

Add better getBoundary method in grid/Staggered
author Martin Almquist <malmquist@stanford.edu>
date Sun, 07 Jun 2020 11:26:40 -0700
parents e958ed76e484
children
line wrap: on
line source

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

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