% 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=1, xmax=10000000000, xminorticks=true, xlabel={N}, xmajorgrids, xminorgrids, ymin=0.0001, ymax=10000, yminorticks=true, ylabel={Time [s]}, ymajorgrids, yminorgrids, title={Timings pr 20 iteration}, legend style={nodes=right}] \addplot [ color=black, solid, line width=1.0pt, mark size=2.0pt, mark=o, mark options={solid} ] coordinates{ (81,0.008101)(289,0.016464)(1089,0.013019)(4225,0.023505)(16641,0.024782)(66049,0.028064)(263169,0.050127)(1050625,0.125849)(4198401,0.428832)(16785409,1.650243) }; \addlegendentry{CG (Quadro 570M)}; \addplot [ color=black, dashed, line width=1.0pt ] coordinates{ (81,0.00081)(289,0.00289)(1089,0.01089)(4225,0.04225)(16641,0.16641)(66049,0.66049)(263169,2.63169)(1050625,10.50625)(4198401,41.98401)(16785409,167.85409) }; \addlegendentry{O(N)}; \end{loglogaxis} \end{tikzpicture}%