Post Image
By Matt GaidicaNovember 8, 2018In Uncategorized

MATLAB Line Colors for The University of Michigan

One maize. One blue. One brand. This function makes the University of Michigan colors available in an array (just like how lines() works in MATLAB). To get all the primary colors:

colors = linesUM;

To limit the amount of colors returned (for instance, to use the colors as a colormap):

colors = linesUM(3);

Finally, to get all the secondary colors just pass in Inf for the amount of colors and set onlySecondary to true:

colors = linesUM(Inf,true);

lines_demo.png


svgA Better Way to Operate: The Surgical Placemat
svg
svgInfinite Highlight Color Marks in Ruby (modulo based)