% 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. % % % \begin{tikzpicture} \begin{loglogaxis}[% view={0}{90}, width=\figurewidth, height=\figureheight, scale only axis, xmin=10000, xmax=100000000, xminorticks=true, xlabel={N}, xmajorgrids, xminorgrids, ymin=0.001, ymax=10, yminorticks=true, ylabel={Time/Iter [s]}, ymajorgrids, yminorgrids, legend columns=2, legend style={at={(-0.25,-0.30)},anchor=north west,nodes=right}, %legend style={at={(0.0,0.0)},anchor=south}, ] \addplot [ color=darkgray!40!black, solid, line width=1.0pt, mark=*, mark options={solid,fill=lightgray!80!black} ] coordinates{ (15246,0.00803368850317266)(30492,0.00823625519143211)(60984,0.00831087749666638)(121968,0.0089320005002949)(243936,0.0101641336017185)(487872,0.0126028767920203)(975744,0.0173117992295159)(1951488,0.0260434004545212)(3902976,0.043993041226599)(7805952,0.0792379336357117)(15611904,0.151626533934805)(31223808,0.291859571679433) }; \addlegendentry{single (GPU)}; \addplot [ color=darkgray!40!black, solid, line width=1.0pt, mark=triangle*, mark options={solid,fill=lightgray!80!black} ] coordinates{ (15246,0.00831917790638076)(30492,0.00847212225695451)(60984,0.00867452212373416)(121968,0.00950211125777827)(243936,0.0111289103911983)(487872,0.0139270448260837)(975744,0.0197530237608486)(1951488,0.0305112550258636)(3902976,0.0529147426684697)(7805952,0.0963592490063774)(15611904,0.185253208165699)(31223808,0.358569120004442) }; \addlegendentry{mixed (GPU)}; \addplot [ color=darkgray!40!black, solid, line width=1.0pt, mark=diamond*, mark options={solid,fill=lightgray!80!black} ] coordinates{ (15246,0.00955975533425808)(30492,0.00979857762356599)(60984,0.00994736704395877)(121968,0.0111520554668374)(243936,0.0128801993068722)(487872,0.016521400308609)(975744,0.0238907681557867)(1951488,0.0379995910909441)(3902976,0.066635753247473)(7805952,0.122402761904399)(15611904,0.237495159917408)(31223808,0.459980837578244) }; \addlegendentry{double (GPU)}; \addplot [ color=darkgray!40!black, solid, line width=1.0pt, mark=triangle*, mark options={solid,,rotate=180,fill=lightgray!80!black} ] coordinates{ (32382,0.0221022727272727)(101574,0.0729888888888889)(202950,0.148522222222222)(399750,0.296765306122449)(799110,0.58886)(1597830,1.21181)(3171078,2.4226)(6341382,4.94226168224299) }; \addlegendentry{double (CPU)}; \end{loglogaxis} \end{tikzpicture}%