php.tex 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. % This file was created by matplotlib2tikz v0.6.14.
  2. \begin{tikzpicture}
  3. \begin{axis}[
  4. xlabel={Quarter},
  5. ylabel={Vulnerabilities per quarter of package php5},
  6. xmin=-2.325, xmax=43.325,
  7. ymin=0, ymax=33.6,
  8. width=\figurewidth,
  9. height=\figureheight,
  10. xtick={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41},
  11. xticklabels={1/'07,2/'07,3/'07,4/'07,1/'08,2/'08,3/'08,4/'08,1/'09,2/'09,3/'09,4/'09,1/'10,2/'10,3/'10,4/'10,1/'11,2/'11,3/'11,4/'11,1/'12,2/'12,3/'12,4/'12,1/'13,2/'13,3/'13,4/'13,1/'14,2/'14,3/'14,4/'14,1/'15,2/'15,3/'15,4/'15,1/'16,2/'16,3/'16,4/'16,1/'17,2/'17},
  12. xticklabel style = {rotate=90},
  13. tick pos=left,
  14. x grid style={white!69.019607843137251!black},
  15. y grid style={white!69.019607843137251!black},
  16. legend cell align={left},
  17. legend entries={{before php7},{after php7}},
  18. legend style={at={(0.03,0.97)}, anchor=north west}
  19. ]
  20. \addlegendimage{ybar,ybar legend,draw=black,fill=blue!54.509803921568626!black};
  21. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:-0.25,0) rectangle (axis cs:0.25,13);
  22. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:0.75,0) rectangle (axis cs:1.25,7);
  23. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:1.75,0) rectangle (axis cs:2.25,7);
  24. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:2.75,0) rectangle (axis cs:3.25,2);
  25. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:3.75,0) rectangle (axis cs:4.25,1);
  26. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:4.75,0) rectangle (axis cs:5.25,4);
  27. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:5.75,0) rectangle (axis cs:6.25,3);
  28. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:6.75,0) rectangle (axis cs:7.25,3);
  29. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:7.75,0) rectangle (axis cs:8.25,2);
  30. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:8.75,0) rectangle (axis cs:9.25,1);
  31. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:9.75,0) rectangle (axis cs:10.25,3);
  32. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:10.75,0) rectangle (axis cs:11.25,3);
  33. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:11.75,0) rectangle (axis cs:12.25,1);
  34. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:12.75,0) rectangle (axis cs:13.25,2);
  35. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:13.75,0) rectangle (axis cs:14.25,2);
  36. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:14.75,0) rectangle (axis cs:15.25,4);
  37. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:15.75,0) rectangle (axis cs:16.25,16);
  38. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:16.75,0) rectangle (axis cs:17.25,2);
  39. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:17.75,0) rectangle (axis cs:18.25,4);
  40. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:18.75,0) rectangle (axis cs:19.25,2);
  41. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:19.75,0) rectangle (axis cs:20.25,6);
  42. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:20.75,0) rectangle (axis cs:21.25,4);
  43. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:21.75,0) rectangle (axis cs:22.25,2);
  44. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:22.75,0) rectangle (axis cs:23.25,0);
  45. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:23.75,0) rectangle (axis cs:24.25,2);
  46. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:24.75,0) rectangle (axis cs:25.25,0);
  47. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:25.75,0) rectangle (axis cs:26.25,2);
  48. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:26.75,0) rectangle (axis cs:27.25,2);
  49. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:27.75,0) rectangle (axis cs:28.25,3);
  50. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:28.75,0) rectangle (axis cs:29.25,4);
  51. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:29.75,0) rectangle (axis cs:30.25,11);
  52. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:30.75,0) rectangle (axis cs:31.25,5);
  53. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:31.75,0) rectangle (axis cs:32.25,9);
  54. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:32.75,0) rectangle (axis cs:33.25,7);
  55. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:33.75,0) rectangle (axis cs:34.25,13);
  56. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:34.75,0) rectangle (axis cs:35.25,2);
  57. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:35.75,0) rectangle (axis cs:36.25,0);
  58. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:36.75,0) rectangle (axis cs:37.25,0);
  59. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:37.75,0) rectangle (axis cs:38.25,0);
  60. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:38.75,0) rectangle (axis cs:39.25,0);
  61. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:39.75,0) rectangle (axis cs:40.25,0);
  62. \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:40.75,0) rectangle (axis cs:41.25,0);
  63. \addlegendimage{ybar,ybar legend,draw=black,fill=red!54.509803921568626!black};
  64. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:-0.25,0) rectangle (axis cs:0.25,0);
  65. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:0.75,0) rectangle (axis cs:1.25,0);
  66. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:1.75,0) rectangle (axis cs:2.25,0);
  67. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:2.75,0) rectangle (axis cs:3.25,0);
  68. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:3.75,0) rectangle (axis cs:4.25,0);
  69. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:4.75,0) rectangle (axis cs:5.25,0);
  70. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:5.75,0) rectangle (axis cs:6.25,0);
  71. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:6.75,0) rectangle (axis cs:7.25,0);
  72. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:7.75,0) rectangle (axis cs:8.25,0);
  73. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:8.75,0) rectangle (axis cs:9.25,0);
  74. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:9.75,0) rectangle (axis cs:10.25,0);
  75. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:10.75,0) rectangle (axis cs:11.25,0);
  76. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:11.75,0) rectangle (axis cs:12.25,0);
  77. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:12.75,0) rectangle (axis cs:13.25,0);
  78. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:13.75,0) rectangle (axis cs:14.25,0);
  79. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:14.75,0) rectangle (axis cs:15.25,0);
  80. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:15.75,0) rectangle (axis cs:16.25,0);
  81. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:16.75,0) rectangle (axis cs:17.25,0);
  82. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:17.75,0) rectangle (axis cs:18.25,0);
  83. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:18.75,0) rectangle (axis cs:19.25,0);
  84. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:19.75,0) rectangle (axis cs:20.25,0);
  85. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:20.75,0) rectangle (axis cs:21.25,0);
  86. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:21.75,0) rectangle (axis cs:22.25,0);
  87. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:22.75,0) rectangle (axis cs:23.25,0);
  88. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:23.75,0) rectangle (axis cs:24.25,0);
  89. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:24.75,0) rectangle (axis cs:25.25,0);
  90. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:25.75,0) rectangle (axis cs:26.25,0);
  91. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:26.75,0) rectangle (axis cs:27.25,0);
  92. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:27.75,0) rectangle (axis cs:28.25,0);
  93. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:28.75,0) rectangle (axis cs:29.25,0);
  94. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:29.75,0) rectangle (axis cs:30.25,0);
  95. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:30.75,0) rectangle (axis cs:31.25,0);
  96. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:31.75,0) rectangle (axis cs:32.25,0);
  97. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:32.75,0) rectangle (axis cs:33.25,0);
  98. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:33.75,0) rectangle (axis cs:34.25,0);
  99. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:34.75,0) rectangle (axis cs:35.25,0);
  100. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:35.75,0) rectangle (axis cs:36.25,0);
  101. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:36.75,0) rectangle (axis cs:37.25,19);
  102. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:37.75,0) rectangle (axis cs:38.25,32);
  103. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:38.75,0) rectangle (axis cs:39.25,4);
  104. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:39.75,0) rectangle (axis cs:40.25,5);
  105. \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:40.75,0) rectangle (axis cs:41.25,0);
  106. \path [opacity=0] (axis cs:1,13)
  107. --(axis cs:1,13);
  108. \path [opacity=0] (axis cs:13,1)
  109. --(axis cs:13,1);
  110. \end{axis}
  111. \end{tikzpicture}