view nextColor.m @ 1338:da61892884a4 feature/D2_boundary_opt

Add support for using periodic grids.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 13 May 2022 13:29:05 +0200
parents e958ed76e484
children
line wrap: on
line source

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

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