Skip to content

Commit

Permalink
somewhat slightly improved colors (fifths is red)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikohansen committed Nov 17, 2020
1 parent 82b9b59 commit 96e10f1
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion code-postprocessing/cocopp/genericsettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@
instancesOfInterestBiobj2017,
instancesOfInterestBiobj2018]

reference_algorithm_styles = {'ls': '-', 'linewidth': 4,
'marker': 'D', 'markersize': 11., 'markeredgewidth': 1.5,
'markerfacecolor': 'linen', #'wheat', OR: antiquewhite
'markeredgecolor': 'linen', #'wheat',
'color': 'linen', #'wheat'
}

line_styles = [ # used by ppfigs and pprlmany
{'marker': 'o', 'markersize': 31, 'linestyle': '-', 'color': '#000080'}, # 'NavyBlue'
{'marker': 'd', 'markersize': 26, 'linestyle': '-', 'color': '#ff00ff'}, # 'Magenta'
Expand All @@ -106,7 +113,7 @@
{'marker': 'p', 'markersize': 24, 'linestyle': '-', 'color': 'c'},
#{'marker': 'H', 'markersize': 23, 'linestyle': '-', 'color': '#bebebe'}, # 'Gray'
# {'marker': 'o', 'markersize': 23, 'linestyle': '-', 'color': '#ffff00'}, # 'Yellow'
{'marker': '3', 'markersize': 23, 'linestyle': '-', 'color': '#adff2f'}, # 'GreenYellow'
# {'marker': '3', 'markersize': 23, 'linestyle': '-', 'color': '#adff2f'}, # 'GreenYellow'
{'marker': '1', 'markersize': 23, 'linestyle': '-', 'color': '#228b22'}, # 'ForestGreen'
{'marker': 'D', 'markersize': 23, 'linestyle': '-', 'color': '#ffc0cb'}, # 'Lavender'
{'marker': '<', 'markersize': 23, 'linestyle': '-', 'color': '#87ceeb'}, # 'SkyBlue' close to CornflowerBlue
Expand Down Expand Up @@ -135,6 +142,38 @@
{'marker': '3', 'markersize': 23, 'linestyle': '-', 'color': '#bebebe'}, # 'Gray'

]
line_styles_old = [ # used by ppfigs and pprlmany see https://matplotlib.org/gallery/color/named_colors.html https://i.stack.imgur.com/lFZum.png
{'marker': 'o', 'markersize': 25, 'linestyle': '-', 'color': 'midnightblue'},
{'marker': 'v', 'markersize': 30, 'linestyle': '-', 'color': 'blue'},
{'marker': '*', 'markersize': 31, 'linestyle': '-', 'color': 'mediumpurple'},
{'marker': 's', 'markersize': 20, 'linestyle': '-', 'color': 'rebeccapurple'}, # square
{'marker': '^', 'markersize': 27, 'linestyle': '-', 'color': 'blueviolet'}, # or darkviolet
{'marker': 'd', 'markersize': 26, 'linestyle': '-', 'color': 'violet'},
{'marker': 'h', 'markersize': 25, 'linestyle': '-', 'color': 'fuchsia'}, # like magenta
{'marker': 's', 'markersize': 24, 'linestyle': '-', 'color': 'cornerflowerblue'}, # deeppink seems too close to reddish
{'marker': 'H', 'markersize': 24, 'linestyle': '-', 'color': 'crimson'}, # dark reddish
{'marker': '<', 'markersize': 24, 'linestyle': '-', 'color': 'deepskyblue'}, # or lightskyblue
{'marker': 'D', 'markersize': 24, 'linestyle': '-', 'color': 'darkturquoise'},
{'marker': '1', 'markersize': 24, 'linestyle': '-', 'color': 'cyan'},
{'marker': '2', 'markersize': 24, 'linestyle': '-', 'color': 'lime'},
{'marker': '4', 'markersize': 24, 'linestyle': '-', 'color': 'green'},
{'marker': '3', 'markersize': 24, 'linestyle': '-', 'color': 'yellowgreen'},
{'marker': 'o', 'markersize': 25, 'linestyle': '-', 'color': 'r'},
{'marker': 'v', 'markersize': 30, 'linestyle': '-', 'color': 'b'},
{'marker': '*', 'markersize': 31, 'linestyle': '-', 'color': 'm'},
{'marker': 's', 'markersize': 20, 'linestyle': '-', 'color': 'c'}, # square
{'marker': '^', 'markersize': 27, 'linestyle': '-', 'color': 'y'},
{'marker': 'd', 'markersize': 26, 'linestyle': '-', 'color': 'k'},
{'marker': 'h', 'markersize': 25, 'linestyle': '-', 'color': 'b'},
{'marker': 's', 'markersize': 24, 'linestyle': '-', 'color': 'g'},
{'marker': 'H', 'markersize': 24, 'linestyle': '-', 'color': 'c'},
{'marker': '<', 'markersize': 24, 'linestyle': '-', 'color': 'r'},
{'marker': 'D', 'markersize': 24, 'linestyle': '-', 'color': 'k'},
{'marker': '1', 'markersize': 24, 'linestyle': '-', 'color': 'm'},
{'marker': '2', 'markersize': 24, 'linestyle': '-', 'color': 'g'},
{'marker': '4', 'markersize': 24, 'linestyle': '-', 'color': 'y'},
{'marker': '3', 'markersize': 24, 'linestyle': '-', 'color': 'r'}
]
line_styles_old = [ # used by ppfigs and pprlmany
{'marker': 'o', 'markersize': 25, 'linestyle': '-', 'color': 'b'},
{'marker': 'v', 'markersize': 30, 'linestyle': '-', 'color': 'r'},
Expand Down

0 comments on commit 96e10f1

Please sign in to comment.