@@ -15,10 +15,8 @@ RGB{Float64}(0.85, 0.6, 0.6)
1515
1616"""
1717function region_cmap (n)
18- ColorSchemes. distinguishable_colors (max (5 , n),
19- [Colors. RGB {Float64} (0.85 , 0.6 , 0.6 ),
20- Colors. RGB {Float64} (0.6 , 0.85 , 0.6 ),
21- Colors. RGB {Float64} (0.6 , 0.6 , 0.85 )];
18+ ColorSchemes. distinguishable_colors (n,
19+ [Colors. RGB (0.85 , 0.6 , 0.6 ), Colors. RGB (0.6 , 0.85 , 0.6 ), Colors. RGB (0.6 , 0.6 , 0.85 )];
2220 lchoices = range (70 ; stop = 80 , length = 5 ),
2321 cchoices = range (25 ; stop = 65 , length = 15 ),
2422 hchoices = range (20 ; stop = 360 , length = 15 ))
@@ -40,10 +38,8 @@ RGB{Float64}(1.0, 0.0, 0.0)
4038
4139"""
4240function bregion_cmap (n)
43- ColorSchemes. distinguishable_colors (max (5 , n),
44- [Colors. RGB {Float64} (1.0 , 0.0 , 0.0 ),
45- Colors. RGB {Float64} (0.0 , 1.0 , 0.0 ),
46- Colors. RGB {Float64} (0.0 , 0.0 , 1.0 )];
41+ ColorSchemes. distinguishable_colors (n,
42+ [Colors. RGB (1.0 , 0.0 , 0.0 ), Colors. RGB (0.0 , 1.0 , 0.0 ), Colors. RGB (0.0 , 0.0 , 1.0 )];
4743 lchoices = range (50 ; stop = 75 , length = 10 ),
4844 cchoices = range (75 ; stop = 100 , length = 10 ),
4945 hchoices = range (20 ; stop = 360 , length = 30 ))
0 commit comments