view nextColor.m @ 1035:2b9bdb22baec feature/burgers1d

Forgot to add .m as file extension
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 17 Jan 2019 11:06:13 +0100
parents e958ed76e484
children
line wrap: on
line source

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

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