matlab - Ploting same color for each column in matrix for 'n' iterations -


i have matrix a of size (n, 80), values of aare updated every nth iteration.

how can use color vector of 80 corresponding matrix a? not want use for loop, consumes lot of time in every iteration.

you can create color matrix color consisting of rgb triplets 80 different colors have (this 80 x 3 matrix). set default axes color order using:

>> set(groot,'defaultaxescolororder',colors) >> plot(a) % plot 80 columns colors corresponding color 

to reset default axes colors factory

>> set(groot,'defaultaxescolororder','factory') 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -