File:food-crop-production1-if-crop-choices.png: Difference between revisions

Updated the "preserve sums" syntax (it's '$' now, not '_')
(Elie uploaded a new version of File:Food-crop-production1-if-crop-choices.png)
(Updated the "preserve sums" syntax (it's '$' now, not '_'))
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:


==Methodology==
==Methodology==
Made from data:
* [[:File:population.data-float64-8640x4320]]
* [[:File:cropland.data-float32-4320x2160]]
* [[:File:countries.data-int16-8640x4320]]
* [[:File:yields-if-crop-choices.data-float64-895x1]]


[[Code:isochromic.c|Image generator]] code:
[[Code:isochromic.c|Image generator]] code:
Line 21: Line 27:
   
   
  # scale everything to 2160x1080
  # scale everything to 2160x1080
  pop @@ _width/4
  pop @@ $width/4
  pop @@ _height/4
  pop @@ $height/4
  crop @@ width/2
  crop @@ width/2
  crop @@ height/2
  crop @@ height/2