% This file was created by matlab2tikz v0.4.0. % Copyright (c) 2008--2013, Nico Schlömer % All rights reserved. % % The latest updates can be retrieved from % http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz % where you can also make suggestions and rate matlab2tikz. % % % % defining custom colors \definecolor{mycolor1}{rgb}{0.19047619047619,0.19047619047619,0.19047619047619}% \definecolor{mycolor2}{rgb}{0.396825396825397,0.396825396825397,0.396825396825397}% \definecolor{mycolor3}{rgb}{0.603174603174603,0.603174603174603,0.603174603174603}% \definecolor{mycolor4}{rgb}{0.80952380952381,0.80952380952381,0.80952380952381}% \begin{tikzpicture} \begin{axis}[% width=\figurewidth, height=\figureheight, area legend, scale only axis, xmin=0, xmax=5, xtick={1, 2, 3, 4}, xlabel={$\alpha$}, xmajorgrids, ymin=0, ymax=700, ylabel={GFlops}, ymajorgrids, legend style={at={(0.03,0.97)},anchor=north west,draw=black,fill=white,legend cell align=left} ] \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=-0.0666666666666667\figurewidth,fill=black,draw=black] plot coordinates{(1,25.7269262023185) (2,34.5244303964177) (3,38.9976495252132) (4,42.0688704662039)}; \addlegendentry{\tiny{1 GPU}}; \addplot [ color=black, solid, line width=1.0pt, forget plot ] table[row sep=crcr]{ 0 0\\ 5 0\\ }; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=-0.04\figurewidth,fill=mycolor1,draw=black] plot coordinates{(1,45.7660023184681) (2,61.0707130321338) (3,71.6147118282191) (4,76.4971402283698)}; \addlegendentry{\tiny{2 GPUs}}; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=-0.0133333333333333\figurewidth,fill=mycolor2,draw=black] plot coordinates{(1,81.6048014543824) (2,110.999576570219) (3,129.333950678194) (4,141.772486940809)}; \addlegendentry{\tiny{4 GPUs}}; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=0.0133333333333333\figurewidth,fill=mycolor3,draw=black] plot coordinates{(1,133.626947231058) (2,183.23775202709) (3,216.230044922718) (4,243.078097897826)}; \addlegendentry{\tiny{8 GPUs}}; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=0.04\figurewidth,fill=mycolor4,draw=black] plot coordinates{(1,214.808744960503) (2,305.941179521759) (3,374.17892748913) (4,412.649357383607)}; \addlegendentry{\tiny{16 GPUs}}; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=0.0666666666666667\figurewidth,fill=white,draw=black] plot coordinates{(1,320.65759859086) (2,484.833340183305) (3,603.099139914345) (4,649.931163224828)}; \addlegendentry{\tiny{32 GPUs}}; \end{axis} \end{tikzpicture}%