handouts/ho02.tex
changeset 434 8664ff87cd77
parent 433 c08290ee4f1f
child 443 cd43d8c6eb84
equal deleted inserted replaced
433:c08290ee4f1f 434:8664ff87cd77
    41     width=5cm,
    41     width=5cm,
    42     height=5cm, 
    42     height=5cm, 
    43     legend entries={Python,Ruby},  
    43     legend entries={Python,Ruby},  
    44     legend pos=north west,
    44     legend pos=north west,
    45     legend cell align=left]
    45     legend cell align=left]
    46 \addplot[blue,mark=*, mark options={fill=white}] 
    46 \addplot[blue,mark=*, mark options={fill=white}] table {re-python.data};
    47   table {re-python.data};
    47 \addplot[brown,mark=triangle*, mark options={fill=white}] table {re-ruby.data};  
    48 \addplot[brown,mark=triangle*, mark options={fill=white}] 
       
    49   table {re-ruby.data};  
       
    50 \end{axis}
    48 \end{axis}
    51 \end{tikzpicture}
    49 \end{tikzpicture}
    52 &
    50 &
    53 \begin{tikzpicture}
    51 \begin{tikzpicture}
    54   \begin{axis}[
    52   \begin{axis}[
    62     ytick={0,5,...,30},
    60     ytick={0,5,...,30},
    63     scaled ticks=false,
    61     scaled ticks=false,
    64     axis lines=left,
    62     axis lines=left,
    65     width=6.5cm,
    63     width=6.5cm,
    66     height=5cm]
    64     height=5cm]
    67 \addplot[green,mark=square*,mark options={fill=white}] table {re2b.data};
    65 \addplot[green,mark=square*,mark options={fill=white}] table {re2.data};
    68 \addplot[black,mark=square*,mark options={fill=white}] table {re3.data};
    66 \addplot[black,mark=square*,mark options={fill=white}] table {re3.data};
    69 \end{axis}
    67 \end{axis}
    70 \end{tikzpicture}
    68 \end{tikzpicture}
    71 \end{tabular}
    69 \end{tabular}
    72 \end{center}
    70 \end{center}
   105     ytick={0,5,...,30},
   103     ytick={0,5,...,30},
   106     axis lines=left,
   104     axis lines=left,
   107     scaled ticks=false,
   105     scaled ticks=false,
   108     width=6.5cm,
   106     width=6.5cm,
   109     height=5cm]
   107     height=5cm]
       
   108 \addplot[green,mark=square*,mark options={fill=white}] table {re2a.data};    
   110 \addplot[black,mark=square*,mark options={fill=white}] table {re3a.data};
   109 \addplot[black,mark=square*,mark options={fill=white}] table {re3a.data};
   111 \end{axis}
   110 \end{axis}
   112 \end{tikzpicture}
   111 \end{tikzpicture}
   113 \end{tabular}
   112 \end{tabular}
   114 \end{center}\medskip
   113 \end{center}\medskip
   493     width=8cm,
   492     width=8cm,
   494     height=4.5cm, 
   493     height=4.5cm, 
   495     legend entries={Java,Scala V1},  
   494     legend entries={Java,Scala V1},  
   496     legend pos=north east,
   495     legend pos=north east,
   497     legend cell align=left]
   496     legend cell align=left]
   498 \addplot[cyan,mark=*, mark options={fill=white}] 
   497 \addplot[cyan,mark=*, mark options={fill=white}] table {re-java.data};
   499   table {re-java.data};
   498 \addplot[red,mark=triangle*,mark options={fill=white}] table {re1a.data};
   500 \addplot[red,mark=triangle*,mark options={fill=white}]
       
   501   table {re1a.data};
       
   502 \end{axis}
   499 \end{axis}
   503 \end{tikzpicture}
   500 \end{tikzpicture}
   504 \end{center}
   501 \end{center}
   505 
   502 
   506 \noindent
   503 \noindent
   535     width=6cm,
   532     width=6cm,
   536     height=5cm, 
   533     height=5cm, 
   537     legend entries={Python,Ruby,Scala V1},  
   534     legend entries={Python,Ruby,Scala V1},  
   538     legend pos=outer north east,
   535     legend pos=outer north east,
   539     legend cell align=left]
   536     legend cell align=left]
   540 \addplot[blue,mark=*, mark options={fill=white}] 
   537 \addplot[blue,mark=*, mark options={fill=white}] table {re-python.data};
   541   table {re-python.data};
   538 \addplot[brown,mark=pentagon*, mark options={fill=white}] table {re-ruby.data};  
   542 \addplot[brown,mark=pentagon*, mark options={fill=white}] 
   539 \addplot[red,mark=triangle*,mark options={fill=white}] table {re1.data};  
   543   table {re-ruby.data};  
       
   544 \addplot[red,mark=triangle*,mark options={fill=white}] 
       
   545   table {re1.data};  
       
   546 \end{axis}
   540 \end{axis}
   547 \end{tikzpicture}
   541 \end{tikzpicture}
   548 \end{center}
   542 \end{center}
   549 
   543 
   550 \noindent Analysing this failure we notice that for
   544 \noindent Analysing this failure we notice that for
   595     width=10cm,
   589     width=10cm,
   596     height=5cm, 
   590     height=5cm, 
   597     legend entries={Python,Ruby,Scala V1,Scala V2},  
   591     legend entries={Python,Ruby,Scala V1,Scala V2},  
   598     legend pos=outer north east,
   592     legend pos=outer north east,
   599     legend cell align=left]
   593     legend cell align=left]
   600 \addplot[blue,mark=*, mark options={fill=white}] 
   594 \addplot[blue,mark=*, mark options={fill=white}] table {re-python.data};
   601   table {re-python.data};
   595 \addplot[brown,mark=pentagon*, mark options={fill=white}] table {re-ruby.data};  
   602 \addplot[brown,mark=pentagon*, mark options={fill=white}] 
   596 \addplot[red,mark=triangle*,mark options={fill=white}] table {re1.data};  
   603   table {re-ruby.data};  
   597 \addplot[green,mark=square*,mark options={fill=white}] table {re2.data};
   604 \addplot[red,mark=triangle*,mark options={fill=white}] 
       
   605   table {re1.data};  
       
   606 \addplot[green,mark=square*,mark options={fill=white}] 
       
   607   table {re2.data};
       
   608 \end{axis}
   598 \end{axis}
   609 \end{tikzpicture}
   599 \end{tikzpicture}
   610 \end{center}
   600 \end{center}
   611 
   601 
   612 \noindent Now we are talking business! The modified matcher 
   602 \noindent Now we are talking business! The modified matcher