|InfoVis.net>Magazine>message nļ 192||Published 2008-05-18|
|Tambiťn disponible en EspaŮol|
The digital magazine of InfoVis.net
In the past art√≠cle number 184 Color guidelines, we described the Cynthia Brewer's proposal for choosing colour palettes. We recognised also some of the limitations of those guidelines.
In our scope a pallette is a set of colours available for its use in a visualisation software (see the definition in the glossary).¬†Palettes are specially useful to map one or more variables with a wide range of values to a correspondingly large range of colours.¬†¬†
The technique that allows us to associate a gradation of colours to the values of one or more variables is called color mapping. It's one of the key techniques of information visualisation when dealing with the representation of a continuous sequence (or one with at least a wide range of values. This technique is also called pseudocolouring.
There are many examples of pseudocolour used in scientific visualisation, especially in Astronomy, Fluid Dynamics and Medical Imaging of data coming from techniques like Nuclear Magnetic >Resonance, or Axial Tomography.¬† As the recent article Rainbow Color Map (Still) Considered Harmful*¬† by David Borland and Russel Taylorvery well points out, in most of them the spectral palette is the one used (the one that contains all the colours of the rainbow in its physical order following each colours wavelength)
For example, more than 50% of the articles of IEEE Visualization Conference Proceedings between the years 2001 and 2005 used that palette. The fact that most of the visualisation systems offer this palette as the default one only worsens the situation. To Borland and Taylor, the use of this palette is similar to the use of the goto sentence in programming that plagued the software some decades (not that many) ago. Consequently our goal should be to erradicate the indiscriminate use of this palette.
Why is the spectral palette misleading?¬†
Because the sequence it represents doesn't make sense to our perceptual system. As Colin Ware explains in his book Information Visualization this can be demonstrated by providing a set of persons with a series of chips of painted paper with different gradations of gray (or for that matter of any other colour). If you ask them to order the chips, all of them produce an ordered sequence from dark to light or viceversa. If instead we provide them with the same chips but each one of a different colour, blue, yellow, red, green and we ask the same, the result is variable, since unlike the variation of luminance (brightness) that stimulates a sense of order, different colours don't have an obvious perceptual order.
Hence the spectral palette doesn't have a perceptual correspondent that could allow us to allocate ordered values to colours. Even worse, the transition between some colours, like between yellow and green is very quick, producing visual artifacts in the form of bands and frontiers that are nonexistent in the data set. These artifacts disappear when using a perceptual scale.¬†
In a perceptual scale the ordering of the data corresponds in a visually identifiable way with that of the colours in an obvious form for the visual system. The difference between using a spectral or a perceptual scale can easily be understood by looking at the figure included in the commendable article by Rogowitz and Treinish Why Should Engineers and Scientists be Worried about Color*.¬†
In the matrix of visualizations we can see, ordered by rows, 5 visualisations including among them a geographic one, a medical one and a fluid dynamics simulation. In each of the three columns we can see the same data depicted as a shadowed relief, using the spectral palette and finally using a perceptual palette. The advantages of this last one over the former are evident.¬†
When choosing a pseudocolour sequence, it's usual to use Stevens* taxonomy to the measurement scales. Stevens distinguishes between: ¬†
We have included Interval and Ratio into a super category Quantitative that differs from Nominal and Ordinal in that on this category we can perform arithmetic operations, i.e. it's composed by numbers.
Bergman, Rogowitz & Treinish propose in his article A Rule-based Tool for Assisting Colormap Selection a set of rules for the selection of colour scales based on the following aspects:
The conjugation of the data type with spatial frequency and the task to be performed produces a set of recommendation regarding Luminance, Hue and Saturation that come from the experience of the authors plus those derived from previous literature on the subject. For the convenience of the reader we reproduce here an equivalent table of the one in the article, that is in agreement with previous paragraphs. We encourage the interested reader to consult the referenced article to increase the knowledge of the subject.¬†¬†
Which type of scale do we use then? As we have seen this depends on different factors like spatial frequency, task to perform and data type. As it happens in so many fields there's no single answer nor a universal palette that be the best one for any purpose. Nevertheless it's clear that there's a universally less appropriate palette that paradoxically is the most used: the spectral or rainbow palette.¬†
* Rainbow Color Map (Still) Considered Harmful¬† by Borland D. and Taylor, R.; in: Computer Graphics and Applications, IEEE
March-April 2007 Volume: 27, Issue: 2, page: 14-17
* Why Should Engineers and Scientists be Worried about Color, by Rogowitz, B and Treinish, L del IBM Thomas J. Watson Research Center,¬† Yorktown Heights New York, USA
On the Theory of Scales of Measurement by Stevens, S.S Science 7 June 1946 pages: 677-680. For example Colin Ware in Information Visualization, Robert Spence in his own book called also Information Visualization, and others use it.
A Rule-based Tool for Assisting Colormap Selection by Bergman, D; Rogowitz, B and Treinish, L del IBM Thomas J. Watson Research Center,¬† Yorktown Heights New York, USA
Links of this issue:
Subscribe to the free newsletter