% This file was created by matlab2tikz v0.2.2. % Copyright (c) 2008--2012, 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}[% view={0}{90}, width=\figurewidth, height=\figureheight, scale only axis, xmin=0, xmax=5, xtick={1,2,3,4}, xlabel={$\alpha$}, xmajorgrids, ymin=0, ymax=200, ylabel={GFlops}, ymajorgrids, %legend style={at={(0.03,0.97)},anchor=north west,nodes=right}, legend pos=outer north east, area legend] \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=-0.0666666666666667\figurewidth,fill=black,draw=black] plot coordinates{ (1,22.7580842315813) (2,31.7449314051055) (3,37.1798950457675) (4,40.253492018759) }; \addlegendentry{1 GPU}; \addplot [ color=black, solid, line width=1.0pt, forget plot ] coordinates{ (0,0)(5,0) }; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=-0.04\figurewidth,fill=mycolor1,draw=black] plot coordinates{ (1,32.3920897978954) (2,44.0505761891603) (3,51.8209797695948) (4,56.6033287946837) }; \addlegendentry{2 GPUs}; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=-0.0133333333333333\figurewidth,fill=mycolor2,draw=black] plot coordinates{ (1,49.0164694619377) (2,66.4549239202078) (3,78.0336968020553) (4,85.0178374521632) }; \addlegendentry{4 GPUs}; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=0.0133333333333333\figurewidth,fill=mycolor3,draw=black] plot coordinates{ (1,70.193327263964) (2,95.9835965533234) (3,111.091725833056) (4,121.135339367746) }; \addlegendentry{8 GPUs}; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=0.04\figurewidth,fill=mycolor4,draw=black] plot coordinates{ (1,88.712013536379) (2,120.532134464085) (3,140.458981798998) (4,152.964872416231) }; \addlegendentry{16 GPUs}; \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=0.0666666666666667\figurewidth,fill=white,draw=black] plot coordinates{ (1,96.2830194223254) (2,137.618031008295) (3,159.909906528023) (4,174.668140378932) }; \addlegendentry{32 GPUs}; \end{axis} \end{tikzpicture}%