% 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,1,1} \begin{tikzpicture} \begin{axis}[% view={0}{90}, width=\figurewidth, height=\figureheight, scale only axis, xmin=8, xmax=15, xtick={9,11,13,15}, xticklabels={$2^9$,$2^{11}$,$2^{13}$,$2^{15}$}, xlabel={Waves}, xmajorgrids, ymin=0, ymax=4, ytick={0,1,2,3,4}, ylabel={Speed-up}, ymajorgrids, title={Speedup comparison of DD and PA}, legend style={at={(0.03,0.97)},anchor=north west,nodes=right}] \addplot [ color=mycolor1, solid, line width=1.5pt, mark size=4.0pt, mark=o, mark options={solid} ] coordinates{ (8,1.54342305738954)(9,1.4816137093895)(10,1.48079561042524)(11,1.46657842488418)(12,1.45782780295278)(13,1.4777586900106)(14,1.47985347985348)(15,1.46520146520147) }; \addlegendentry{PA 2GPUs}; \addplot [ color=blue, solid, line width=1.5pt, mark size=4.0pt, mark=o, mark options={solid} ] coordinates{ (8,2.45093268450933)(9,2.5672268907563)(10,2.40490797546012)(11,2.43198037466548)(12,2.40398550724638)(13,2.42935935511243)(14,2.42909090909091)(15,2.42878787878788) }; \addlegendentry{PA 4GPUs}; \addplot [ color=mycolor1, solid, line width=1.5pt, mark size=4.0pt, mark=x, mark options={solid} ] coordinates{ (8,0.454254184345942)(9,0.526875025559236)(10,0.668123554625199)(11,0.897521811593494)(12,1.135169425654)(13,1.51081742950859)(14,1.71611597846676)(15,1.87119434520488) }; \addlegendentry{DD 2GPUs}; \addplot [ color=blue, solid, line width=1.5pt, mark size=4.0pt, mark=x, mark options={solid} ] coordinates{ (8,0.358395133178619)(9,0.434398936735779)(10,0.568510804783959)(11,0.808906868806336)(12,1.26354787756104)(13,1.86566615877371)(14,2.624136660208)(15,3.2117443099633) }; \addlegendentry{DD 4GPUs}; \addplot [ color=blue, dashed, line width=1.5pt, forget plot ] coordinates{ (8,2.46153846153846)(9,2.46153846153846)(10,2.46153846153846)(11,2.46153846153846)(12,2.46153846153846)(13,2.46153846153846)(14,2.46153846153846)(15,2.46153846153846) }; \addplot [ color=mycolor1, dashed, line width=1.5pt, forget plot ] coordinates{ (8,1.45454545454545)(9,1.45454545454545)(10,1.45454545454545)(11,1.45454545454545)(12,1.45454545454545)(13,1.45454545454545)(14,1.45454545454545)(15,1.45454545454545) }; \end{axis} \end{tikzpicture}%