|
|
# Yellow Green
|
|
|
![image](uploads/cfb6f4ca8d324dcdd8d4caf46bf0c4b8/image.png)
|
|
|
- used for : vegc, pft_harvest, cftfrac
|
|
|
- [ ] complete white blue title (what to use)
|
|
|
- [ ] add miniature yellow red
|
|
|
- [ ] complete color part : table ?
|
|
|
|
|
|
# Color
|
|
|
|
|
|
# Color map
|
|
|
## Yellow Green: vegc, pft_harvest, cft_frac
|
|
|
<img src="uploads/cfb6f4ca8d324dcdd8d4caf46bf0c4b8/image.png" width="240" height="50">
|
|
|
|
|
|
```
|
|
|
x=255
|
|
|
refcolors = [(255/x,255/x,204/x),
|
... | ... | @@ -10,9 +17,9 @@ refcolors = [(255/x,255/x,204/x), |
|
|
(0/x,104/x,55/x)]
|
|
|
yelgre = cm.colors.LinearSegmentedColormap.from_list("yelgre", refcolors, N=50)
|
|
|
```
|
|
|
# Yellow Brown
|
|
|
![image](uploads/a7f64a4474941c2ddcab8ea4e0447ce8/image.png)
|
|
|
- used for : soilc, litc
|
|
|
## Yellow Brown: soilc, litc
|
|
|
<img src="uploads/a7f64a4474941c2ddcab8ea4e0447ce8/image.png" width="240" height="50">
|
|
|
|
|
|
```
|
|
|
x=255
|
|
|
refcolors = [(255/x,255/x,212/x),
|
... | ... | @@ -22,9 +29,9 @@ refcolors = [(255/x,255/x,212/x), |
|
|
(153/x,52/x,4/x)]
|
|
|
yelbro = cm.colors.LinearSegmentedColormap.from_list("yelbro", refcolors, N=50)
|
|
|
```
|
|
|
# Green Red
|
|
|
![image](uploads/3f8dda2ce049076d4c837bebc7a99ed1/image.png)
|
|
|
- used for : sdate, hdate
|
|
|
## Green Red: sdate, hdate
|
|
|
<img src="uploads/3f8dda2ce049076d4c837bebc7a99ed1/image.png" width="240" height="50">
|
|
|
|
|
|
```
|
|
|
x=255
|
|
|
refcolors = [(215/x,25/x,28/x),
|
... | ... | @@ -34,21 +41,19 @@ refcolors = [(215/x,25/x,28/x), |
|
|
(26/x,150/x,65/x)]
|
|
|
grered = cm.colors.LinearSegmentedColormap.from_list("grered", refcolors, N=50)
|
|
|
```
|
|
|
# White Blue
|
|
|
![image](uploads/374be42de12fb1fae9532bd16bbf14da/image.png)
|
|
|
- used for :
|
|
|
## White Blue:
|
|
|
<img src="uploads/374be42de12fb1fae9532bd16bbf14da/image.png" width="240" height="50">
|
|
|
|
|
|
```
|
|
|
x=255
|
|
|
refcolors = [(241/x,238/x,246/x),
|
|
|
(189/x,201/x,225/x),
|
|
|
(189/x,201/x,## to do 225/x),
|
|
|
(116/x,169/x,207/x),
|
|
|
(43/x,140/x,190/x),
|
|
|
(4/x,90/x,141/x)]
|
|
|
whiblu = cm.colors.LinearSegmentedColormap.from_list("whiblu", refcolors, N=50)
|
|
|
```
|
|
|
|
|
|
## yellow red
|
|
|
- used for fire, burned area, burn fraction
|
|
|
## Yellow red: fire, burned area, burn fraction
|
|
|
```
|
|
|
x=255
|
|
|
refcolors = [(255/x,255/x,178/x),
|
... | ... | @@ -57,42 +62,4 @@ refcolors = [(255/x,255/x,178/x), |
|
|
(240/x,59/x,32/x),
|
|
|
(189/x,0/x,38/x)]
|
|
|
yelred = cm.colors.LinearSegmentedColormap.from_list("yelred", refcolors, N=50)
|
|
|
```
|
|
|
|
|
|
## all color maps
|
|
|
```
|
|
|
x=255
|
|
|
#yellow green : vegc,
|
|
|
refcolors = [(255/x,255/x,204/x),
|
|
|
(194/x,230/x,153/x),
|
|
|
(120/x,198/x,121/x),
|
|
|
(49/x,163/x,84/x),
|
|
|
(0/x,104/x,55/x)]
|
|
|
yelgre = cm.colors.LinearSegmentedColormap.from_list("yelgre", refcolors, N=50)
|
|
|
|
|
|
#yellow brown : soilc,
|
|
|
refcolors = [(255/x,255/x,212/x),
|
|
|
(254/x,217/x,142/x),
|
|
|
(254/x,153/x,41/x),
|
|
|
(217/x,95/x,14/x),
|
|
|
(153/x,52/x,4/x)]
|
|
|
yelbro = cm.colors.LinearSegmentedColormap.from_list("yelbro", refcolors, N=50)
|
|
|
|
|
|
#green red : sdate, hdate
|
|
|
refcolors = [(215/x,25/x,28/x),
|
|
|
(253/x,174/x,97/x),
|
|
|
(255/x,255/x,191/x),
|
|
|
(166/x,217/x,106/x),
|
|
|
(26/x,150/x,65/x)]
|
|
|
grered = cm.colors.LinearSegmentedColormap.from_list("grered", refcolors, N=50)
|
|
|
|
|
|
#white blue : cft_consump_water_b, cft_consump_water_g, mrunoff
|
|
|
refcolors = [(241/x,238/x,246/x),
|
|
|
(189/x,201/x,225/x),
|
|
|
(116/x,169/x,207/x),
|
|
|
(43/x,140/x,190/x),
|
|
|
(4/x,90/x,141/x)]
|
|
|
whiblu = cm.colors.LinearSegmentedColormap.from_list("whiblu", refcolors, N=50)
|
|
|
```
|
|
|
#blue white red
|
|
|
'bwr' used for ploting difference |
|
|
\ No newline at end of file |
|
|
``` |
|
|
\ No newline at end of file |