From 9501d51450e0b7b20274fd1a934a62ecdcb0edf1 Mon Sep 17 00:00:00 2001 From: Lyanis Souidi Date: Thu, 18 May 2023 18:03:54 +0200 Subject: [PATCH] [Ex1 - Q3] Modification du graph Co-authored-by: Dimitrijevic --- README.md | 2 +- resources/img/ex1-3.png | Bin 6459 -> 10324 bytes resources/scripts/ex1-3.sce | 4 ++++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 374b26f..c903ca3 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file +![Densité de population par continent](resources/img/ex1-3.png) \ No newline at end of file diff --git a/resources/img/ex1-3.png b/resources/img/ex1-3.png index 6d8cfab1201b270517f9b7b736531dd5afc94817..8f4b4c89b35268f01d267b0bfe82df252598ee85 100644 GIT binary patch literal 10324 zcma)C2|Uzm_b0c=5+zG^xv6d<3E9JqN^!MZl%E&N z&vL@LOu~;}K6U9Rbs4{t;m#$?wnW|1ygOl>Dxngs&vhx0^i<^3gPweX5wD@g+7&`q zpFCWnPK|gWAYS0+=UV(NAZ>Vfw_9_eotetRwB}8&O=&sBo(7d8A;W&=^;&B=IQ;FT zjxFcl2p8u#C&b0EBZ`xQNA-XGDZh;Mun;T-J^Vlal&j+4Ko1-7vmT!LbIT>>)L7*( z^;@KD==L|YwVU6$S?hFKyY=?}WW+xeBqZfkWvF5*6X29>SL*v~WyFe$7cc5fC9giV zv3l7ARj>wUf%S1HeK9^E3S2DuiN(dmHHnpzy%a}jpAVLnHa2Up(-XuA=9FFzwz;;XVyfR@ zT1$WQj^N818xLUWl2ldQnzF5nJ?!$_nrR^uBR+K6h~z-YD6P=9414?h_3PK|Ju06pR7x1=Y zj1-1a9A#^#rof^uak!pM4&!@1eE9IIo10sE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AF_50F5yoPdhpri7pgfS*x7h)}xBp1wEVsE^~x zgJS05^g={XZE03uXv8-kHxl;cgvo!To|24Bz7iNndiTy>Q&ZFGu``~&JX^G!)Ohi% z`YkmX{3N5n;{Yh+#A}J%8vqJB%4)(Wq!j7%9r@xL~2;s^~9AzQG} z9UHYqyR50LT|_uj=yvxWqNVX%2j|CP0QqXFs?b zxxq&Uryuy<8OY)m=g;t*fJy@TzAUmWP7i8q07IzZ**GaziNS){IcZ__aa#soH*|>N z;ZuSIXWrvS;0mC?1@^XuQ15NRIXAgUm8MC!#V6p{51eLWv;KIbx*Bxo3N7b^kPUIi z4yd!Ipb~^g0_r(T8VJdQx~K$R4u!~nK|Tq<&AhaQ`Vpax*PzN9!GUCaZ}nG%o`SAP zlDBS3c=i5vAE)H15n~8axj5hmiu$dZz+x3BE^a|Lm6@vn=!DNF`E zG)fZ7T*x0)HD9$gPI4-;Zvt17<7;<_;nRN%FpI^RYdv*j1~%aR_DSxjSiBtFi+vL| z9zL0Cggz*OJ86Ptngk6#zr_@uUr@t$y024YCl$@s-WC|euCKV-^e#^IOf215dEY2C z%2*!GpQ2N4X?$}R)PhX5AE=Ev(FAU~mYVQ6saW(yQdg0KS5#C~NrwlZn0AsBcBQc@ ztu#z8uPcBuVZITSYZ`4(%a{&sPLHJ(taRlw^&@;U7>U$(-Nk5XZ<$flythg0dhZj9 zV`%?H*SRr9a!9$qC!jL$1Xb_Wb$aaZ58 z{7^-oAT#}9^%cPB#$2a`IdcfmPOn)D^D1+7VZtjkG_<5{W4315O{|o9q=kTG1YlKt z(g-Qk*)Pp7G&Qr0^@WvDov!nFbNQ@87)2 zB!-NjjB(WG*~`NZkl==W`+fia{YD?G{eRu)bA|u>Mt?r9&!H*JLHi{ diff --git a/resources/scripts/ex1-3.sce b/resources/scripts/ex1-3.sce index 60af252..3189475 100644 --- a/resources/scripts/ex1-3.sce +++ b/resources/scripts/ex1-3.sce @@ -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");