... | ... | @@ -171,3 +171,14 @@ fig.savefig("pasture_fraction_landuse_input_mapbiomas_1985_2020.pdf", bbox_inche |
|
|
```
|
|
|
axe.text(i,j,fraction,fontsize = fs_textongraph,weight="bold",rotation="horizontal",transform=fig.transFigure,va="bottom",ha="center")
|
|
|
```
|
|
|
## plot region number in morocco
|
|
|
```
|
|
|
#plot region number
|
|
|
points = [(-5.644308943089431, 35.463414634146346), (-2.3414634146341466, 33.53252032520326), (-4.932926829268293, 34.04065040650407),
|
|
|
(-6.254065040650406, 34.09146341463415), (-6.508130081300813, 32.71951219512195), (-7.676829268292682, 33.12601626016261),
|
|
|
(-8.540650406504064, 31.804878048780488), (-5.59349593495935, 30.991869918699187), (-8.286585365853657, 29.8739837398374),
|
|
|
(-9.96341463414634, 28.34959349593496), (-10.573170731707316, 27.38414634146342)]
|
|
|
for id_point,point in enumerate(points) :
|
|
|
id_region = id_point +1
|
|
|
axe.text(point[0],point[1],id_region,fontsize = fs_textongraph,weight="bold")
|
|
|
``` |
|
|
\ No newline at end of file |