Difference between revisions of "File:2021.11.28.CovidRussiaDd.png"
Jump to navigation
Jump to search
Line 54: | Line 54: | ||
[[Category:History]] |
[[Category:History]] |
||
[[Category:Linear extrapolation]] |
[[Category:Linear extrapolation]] |
||
+ | [[Category:PHP]] |
||
[[Category:Russia]] |
[[Category:Russia]] |
||
+ | [[Category:SVG]] |
||
[[Category:Wolrdometer]] |
[[Category:Wolrdometer]] |
Revision as of 22:54, 28 November 2021
Analysis of Covid pic by Worldometer for Ruissia:
Linear extrapolations of number of daily death cases; pessimistic (ref) and optimistic (blue).
Generator
Image should be loaded in order to execute the code below
<!DOCTRINE html><html><body><small><small> <svg width="800" height="400"> <image x="0" y="0" width="716" height="400" xlink:href="2021.11.28.19.13.png"/> <?php $z=60; $j0=juliantojd(2, 15, 2020); $d0=jdtojulian($j0); for($x0=0;$x0<800;$x0+=26) {$x=$x0+$z; $xp=$x+4; $j=$j0+$x0; $d0=jdtojulian($j); //$d1=split("/",$d0); $d1=explode("/",$d0); $text=sprintf("%04d.%02d.%02d",$d1[2],$d1[0],$d1[1]); echo "<line x1=$x y1=30 x2=$x y2=400 stroke='RGB(255,0,255)' stroke-width='1.2' />\n"; echo "<text transform='translate($xp,200) rotate(-90)'>$text</text> \n"; echo "<text transform='translate($xp,400) rotate(-90)'>$x0</text> \n"; } $y1=300; $z2=$z+800; $y2=$y1 - .35*800; echo "<line x1=$z y1=$y1 x2=$z2 y2=$y2 stroke='RGB(255,0,0)' stroke-width='1' />\n"; $y1=310; $z2=$z+800; $y2=$y1 - .164*800; echo "<line x1=$z y1=$y1 x2=$z2 y2=$y2 stroke='RGB(0,0,255)' stroke-width='1' />\n"; ?> </svg> </body> </html>
References
https://www.worldometers.info/coronavirus/country/russia/ Last updated: November 28, 2021, 09:51 GMT
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 20:52, 28 November 2021 | 1,059 × 501 (207 KB) | T (talk | contribs) |
You cannot overwrite this file.
File usage
The following page uses this file: