[Ex1 - Q3] Modification du graph
Co-authored-by: Dimitrijevic <hugo.dimitrijevic@etu.u-pec.fr>
This commit is contained in:
parent
349e35266a
commit
9501d51450
@ -78,4 +78,4 @@ densiteOceanie = populationOceanie / surfaceOceanie;
|
||||
bar([densiteAfrique, densiteAmeriqueDuNord, densiteAmeriqueDuSud, densiteAsie, densiteEurope, densiteOceanie]);
|
||||
```
|
||||
**Résultat :**
|
||||
![Diagramme en bâtons](resources/img/ex1-3.png)
|
||||
![Densité de population par continent](resources/img/ex1-3.png)
|
Binary file not shown.
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 10 KiB |
@ -8,3 +8,7 @@ densiteEurope = sum(data(151:193, 3)* 1000000) / sum(data(151:193, 2)* 1000);
|
||||
densiteOceanie = sum(data(194:207, 3)* 1000000) / sum(data(194:207, 2)* 1000);
|
||||
|
||||
bar([densiteAfrique, densiteAmeriqueDuNord, densiteAmeriqueDuSud, densiteAsie, densiteEurope, densiteOceanie]);
|
||||
title("Densité de population par continent");
|
||||
xlabel("Continent");
|
||||
ylabel("Densité (habitants/km²)");
|
||||
xs2png(0,"resources/img/ex1-3.png");
|
||||
|
Loading…
Reference in New Issue
Block a user