The color white 255 255 255

broken image

Title( 'Default colors for mesh BEFORE 2014b') Note that the name of this colormap is 'parula' while previous to R2014b, it was 'jet' =meshgrid(linspace(0,10)) If using mesh(x,y,z), to change the look of it you would want to change 'EdgeColor'. Title( 'Hold On Now Cycles Through Colors')

broken image
broken image

See below for how to manually adjust the colors. Now it will automatically move to the next color(s). In the past, each new plot command would start with the first color (blue) and you would have to manually change the color. Legend( 'color 1', 'color 2', 'color 3', 'color 4', 'color 5', 'color 6', 'color 7', 'Location', 'SouthEast')Īnother thing that changed starting in the R2014b version is that the hold on and hold off automatically cycles through the colors. Here are the colors, in order, and their MATLAB RGB triplet. The default colors used in MATLAB changed in R2014b version.

broken image

Seeįor more in-depth explanations and fancier coloring, to name just two sources. This document gives BASIC ways to color graphs in MATLAB.

broken image