Skip to content

Color spalettes for black/white printing

4 messages · David Studer, ONKELINX, Thierry, Michael Sumner +1 more

#
Have a look at bpy.colors()

Best regards,

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
+ 32 2 525 02 51
+ 32 54 43 61 85
Thierry.Onkelinx at inbo.be
www.inbo.be

To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of.
~ Sir Ronald Aylmer Fisher

The plural of anecdote is not data.
~ Roger Brinner

The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey


-----Oorspronkelijk bericht-----
Van: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Namens David Studer
Verzonden: dinsdag 5 maart 2013 11:56
Aan: r-help at r-project.org
Onderwerp: [R] Color spalettes for black/white printing

Hi everybody!

Does anyone know a good way to color my images so that when I print them out on a non-color-printer the colors used can be distinguished well? As I have many categories I would not want to assign the colors c("black", "grey", "white") by hand.

Thank you!


______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
* * * * * * * * * * * * * D I S C L A I M E R * * * * * * * * * * * * *
Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is door een geldig ondertekend document.
The views expressed in this message and any annex are purely those of the writer and may not be regarded as stating an official position of INBO, as long as the message is not confirmed by a duly signed document.
#
On Tue, 5 Mar 2013, David Studer wrote:

            
The "colorspace" package provides a wide range of colors that - when 
printed on a grayscale printer - still preserve an increasing/decreasing 
gray palette.

To explore these, see choose_palette() in "colorspace" which opens a GUI, 
let's you play around with the palettes, see them in example displays, and 
also let's you collapse them to gray colorse (option: desaturate).

Furtheremore, you can explore the effects of different types of color 
blindness (provided that the "dichromat" package is installed).

Best,
Z