Variable for hsv split into 12 values

3 views (last 30 days)
How would I do this?
Create a variable to store the RGB values from the ‘hsv’ colour map with 12 values – you’ll use this to change the colour of the plots based the month. Set the colour map for the whole figure to be this new 12-colour matrix.

Accepted Answer

PureFleet on 29 Nov 2021
it was c=hsv(12)

More Answers (0)


Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by