[GRASS-user] Triangle plot with correspoding map

Hamish hamish_nospam at yahoo.com
Thu Nov 29 15:47:27 EST 2007


Martin Wegmann wrote:
> a colleague wanted to display 3 different attributes (e.g. bare soil, 
> vegetation, shadow), so far he did a map with a triangle plot manually (see 
> attachment by M. Schramm). 
> 
> And he asked (and I wonder) if it would be possible to generate something 
> along these lines using GRASS. Using 3 input raster and displaying a 3 
> gradient colour map with a corresponding triangle legend. 


scale all three maps to 0-255 (if r.rescale doesn't work for maps with floating
point data (it probably does, but may not), it can be done with r.mapcalc).

then use d.rgb to display it. (or perhaps d.his?)

no ideas about how to generate the legend outside of a paint program.


Hamish



      ____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 


More information about the grass-user mailing list