How to create custom color ramp using "r.colors" GRASS GIS function?

المشرف العام

Administrator
طاقم الإدارة
I am trying to assign a raster/grid a custom color palette in GRASS using the "r.colors" function.

r.colors map=Consensus_BRT_RCP85 colors=rulesThis allows me to input my rules for my color palette:

0 238:238:2380.06 0:0:2550.33 0:255:2550.67 255:255:01.0 255:0:0 endThis function operates, but it doesn't create the color palette I would like.


I'd like it to be like my custom GMT color palette:

0.000000 238 238 238 0.060000 238 238 2380.060000 0 0 255 0.333333 0 0 2550.333333 0 255 255 0.666667 255 255 00.666667 255 255 0 1.000000 255 0 0My GMT palette looks like this (I want my probabilistic map to have this color ramp):


I've seen that there is a function called "r.cpt2grass" but this function isn't found on my GRASS installation (not sure what to do about GRASS GIS "add-ons").



أكثر...
 
أعلى