[MATLAB] the method of using color palette to realize automatic line color in drawing
N types of colors in hsv 10;%
Cc=hsv (n)
Figure
Hold on
For iTunes 1: 12
Plot (result (1 because hsv:), 'color', cc (mod (iMagne) + 1 Magi:));% mod (iMagne) is to prevent color from exceeding hsv dimensions, + 1 because hsv (0) has no definition
End