Error in coloration of raster map

Roengsak Katawatin wrote:

With the use of GRASS4.1, I am working on a raster map
consisting of 27 categories. I have assigned colors
to all of these categories by using the 'r.colors'
(color=rules). Problem occurred when I displayed this
map on the x-windows. Frequently, color of each category
shown on the x-windows was not the color to which I
have assigned. For example, the category that was
assigned 255, 0, 0 (red, green, blue) was appear in
'orange' instead of 'red'.

I suspect your problem is to do with the fact that GRASS 4.1 seems to
interpret the colors you specify differently according to the color you
specify for the category above and below it. For example orange will be
interpreted as orange if it has light blue (64 255 255) above it and red
below it, but as green if it has light blue above and green (128 255 0)
below it. Unless anybody can come up with a useful suggestion then I
guess all you can do is practice with the colors until you get a feel for
what you can expect to come out at the end.

Hope this is useful.

Julia

------------------------------------------------------------------------------
           Julia Porter FAX : +61-2-805-8428
  _--_|\ Climatic Impacts Centre Phone : +61-2-805-8389
/ \ Building E7A - Room 610 Phone : +61-2-805-8398 (secretary)
\_.--._/ Macquarie University Email : jporter@laurel.ocs.mq.edu.au
       - North Ryde NSW 2109
           AUSTRALIA
------------------------------------------------------------------------------