Difference between revisions of "File:2021.11.28.CovidRussiaDd.png"

From TORI
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
   
 
Linear extrapolations of number of daily death cases;
 
Linear extrapolations of number of daily death cases;
pessimistic (ref) and optimistic (blue).
+
pessimistic (red) and optimistic (blue).
   
 
==Generator==
 
==Generator==
  +
Image [[File:2021.11.28.19.13.png|200px]]
  +
should be loaded in order to execute the code below
  +
  +
<pre>
  +
<!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>
  +
</pre>
   
 
==References==
 
==References==
 
<references/>
 
<references/>
 
https://www.worldometers.info/coronavirus/country/russia/
 
https://www.worldometers.info/coronavirus/country/russia/
  +
Last updated: November 28, 2021, 09:51 GMT
2021.11.28
 
   
 
[[Category:Collapse of RF]]
 
[[Category:Collapse of RF]]
Line 16: Line 54:
 
[[Category:History]]
 
[[Category:History]]
 
[[Category:Linear extrapolation]]
 
[[Category:Linear extrapolation]]
  +
[[Category:PHP]]
 
[[Category:Russia]]
 
[[Category:Russia]]
  +
[[Category:SVG]]
 
[[Category:Wolrdometer]]
 
[[Category:Wolrdometer]]

Latest revision as of 22:55, 28 November 2021

Analysis of Covid pic by Worldometer for Ruissia:

Linear extrapolations of number of daily death cases; pessimistic (red) and optimistic (blue).

Generator

Image 2021.11.28.19.13.png 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/TimeThumbnailDimensionsUserComment
current20:52, 28 November 2021Thumbnail for version as of 20:52, 28 November 20211,059 × 501 (207 KB)T (talk | contribs)
  • You cannot overwrite this file.

The following page links to this file:

Metadata