123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- % This file was created by matplotlib2tikz v0.6.14.
- \begin{tikzpicture}
- \begin{axis}[
- xlabel={Quarter},
- ylabel={Vulnerabilities per quarter of package php5},
- xmin=-2.325, xmax=43.325,
- ymin=0, ymax=33.6,
- width=\figurewidth,
- height=\figureheight,
- 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},
- 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},
- xticklabel style = {rotate=90},
- tick pos=left,
- x grid style={white!69.019607843137251!black},
- y grid style={white!69.019607843137251!black},
- legend cell align={left},
- legend entries={{before php7},{after php7}},
- legend style={at={(0.03,0.97)}, anchor=north west}
- ]
- \addlegendimage{ybar,ybar legend,draw=black,fill=blue!54.509803921568626!black};
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:-0.25,0) rectangle (axis cs:0.25,13);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:0.75,0) rectangle (axis cs:1.25,7);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:1.75,0) rectangle (axis cs:2.25,7);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:2.75,0) rectangle (axis cs:3.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:3.75,0) rectangle (axis cs:4.25,1);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:4.75,0) rectangle (axis cs:5.25,4);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:5.75,0) rectangle (axis cs:6.25,3);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:6.75,0) rectangle (axis cs:7.25,3);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:7.75,0) rectangle (axis cs:8.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:8.75,0) rectangle (axis cs:9.25,1);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:9.75,0) rectangle (axis cs:10.25,3);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:10.75,0) rectangle (axis cs:11.25,3);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:11.75,0) rectangle (axis cs:12.25,1);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:12.75,0) rectangle (axis cs:13.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:13.75,0) rectangle (axis cs:14.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:14.75,0) rectangle (axis cs:15.25,4);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:15.75,0) rectangle (axis cs:16.25,16);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:16.75,0) rectangle (axis cs:17.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:17.75,0) rectangle (axis cs:18.25,4);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:18.75,0) rectangle (axis cs:19.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:19.75,0) rectangle (axis cs:20.25,6);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:20.75,0) rectangle (axis cs:21.25,4);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:21.75,0) rectangle (axis cs:22.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:22.75,0) rectangle (axis cs:23.25,0);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:23.75,0) rectangle (axis cs:24.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:24.75,0) rectangle (axis cs:25.25,0);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:25.75,0) rectangle (axis cs:26.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:26.75,0) rectangle (axis cs:27.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:27.75,0) rectangle (axis cs:28.25,3);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:28.75,0) rectangle (axis cs:29.25,4);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:29.75,0) rectangle (axis cs:30.25,11);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:30.75,0) rectangle (axis cs:31.25,5);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:31.75,0) rectangle (axis cs:32.25,9);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:32.75,0) rectangle (axis cs:33.25,7);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:33.75,0) rectangle (axis cs:34.25,13);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:34.75,0) rectangle (axis cs:35.25,2);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:35.75,0) rectangle (axis cs:36.25,0);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:36.75,0) rectangle (axis cs:37.25,0);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:37.75,0) rectangle (axis cs:38.25,0);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:38.75,0) rectangle (axis cs:39.25,0);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:39.75,0) rectangle (axis cs:40.25,0);
- \draw[draw=black,fill=blue!54.509803921568626!black] (axis cs:40.75,0) rectangle (axis cs:41.25,0);
- \addlegendimage{ybar,ybar legend,draw=black,fill=red!54.509803921568626!black};
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:-0.25,0) rectangle (axis cs:0.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:0.75,0) rectangle (axis cs:1.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:1.75,0) rectangle (axis cs:2.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:2.75,0) rectangle (axis cs:3.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:3.75,0) rectangle (axis cs:4.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:4.75,0) rectangle (axis cs:5.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:5.75,0) rectangle (axis cs:6.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:6.75,0) rectangle (axis cs:7.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:7.75,0) rectangle (axis cs:8.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:8.75,0) rectangle (axis cs:9.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:9.75,0) rectangle (axis cs:10.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:10.75,0) rectangle (axis cs:11.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:11.75,0) rectangle (axis cs:12.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:12.75,0) rectangle (axis cs:13.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:13.75,0) rectangle (axis cs:14.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:14.75,0) rectangle (axis cs:15.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:15.75,0) rectangle (axis cs:16.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:16.75,0) rectangle (axis cs:17.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:17.75,0) rectangle (axis cs:18.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:18.75,0) rectangle (axis cs:19.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:19.75,0) rectangle (axis cs:20.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:20.75,0) rectangle (axis cs:21.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:21.75,0) rectangle (axis cs:22.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:22.75,0) rectangle (axis cs:23.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:23.75,0) rectangle (axis cs:24.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:24.75,0) rectangle (axis cs:25.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:25.75,0) rectangle (axis cs:26.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:26.75,0) rectangle (axis cs:27.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:27.75,0) rectangle (axis cs:28.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:28.75,0) rectangle (axis cs:29.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:29.75,0) rectangle (axis cs:30.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:30.75,0) rectangle (axis cs:31.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:31.75,0) rectangle (axis cs:32.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:32.75,0) rectangle (axis cs:33.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:33.75,0) rectangle (axis cs:34.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:34.75,0) rectangle (axis cs:35.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:35.75,0) rectangle (axis cs:36.25,0);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:36.75,0) rectangle (axis cs:37.25,19);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:37.75,0) rectangle (axis cs:38.25,32);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:38.75,0) rectangle (axis cs:39.25,4);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:39.75,0) rectangle (axis cs:40.25,5);
- \draw[draw=black,fill=red!54.509803921568626!black] (axis cs:40.75,0) rectangle (axis cs:41.25,0);
- \path [opacity=0] (axis cs:1,13)
- --(axis cs:1,13);
- \path [opacity=0] (axis cs:13,1)
- --(axis cs:13,1);
- \end{axis}
- \end{tikzpicture}
|