fluiddyn.output.colorchart
Helper to choose RGB sets of colors for figures
Provides
- fluiddyn.output.colorchart.make_colorchart(nb_colors=4, darkest_gray=0.03, lightest_gray=0.85)[source]
Produce a pdf with color charts.
The color charts help choosing RGB sets of colors which are distinguishable both in black and white and in color.
- Parameters:
- nb_colorsint
nb of desired final colors.
- darkest_grayfloat
darkest gray level (between 0 and 1)
- lightest_grayfloat
lightest gray level (between 0 and 1)
Notes
For many journals, it is very expensive to have figures with colors in the printed version. But nowadays, the printed version of a paper is not very important because most people get numerical papers on the web. So a good solution for many figures is to use colors that can be differentiated in black and white. This function produces pdf files with color charts helping researchers to choose colors adapted to this requirement.
First author: Tobit CAUDWELL 2015 (tobit [AT] locta.fr).
Functions
|
Produce a pdf with color charts. |