Browse Source

Changed CPU color to green

Lorenzo 8 years ago
parent
commit
55297011fb
4 changed files with 17 additions and 17 deletions
  1. 1 1
      data/ipedirectgma/latency-hist.py
  2. 1 1
      data/ipedirectgma/plot.py
  3. 1 1
      data/throughput.py
  4. 14 14
      figures/transf.svg

+ 1 - 1
data/ipedirectgma/latency-hist.py

@@ -22,7 +22,7 @@ gpu_weights = np.ones_like(gpu_data)/float(len(gpu_data))
 # plt.hist(gpu_data, bins=200, label='GPU', log=True)
 # plt.hist(cpu_data, bins=200, label='CPU', log=True)
 plt.hist(gpu_data, weights=gpu_weights, bins=50, color='#3b5b92', label='GPU', linewidth=0)
-plt.hist(cpu_data, weights=cpu_weights, bins=50, color='#d54d4d', label='CPU', linewidth=0)
+plt.hist(cpu_data, weights=cpu_weights, bins=50, color='#77DD77', label='CPU', linewidth=0)
 plt.xticks([2.0, 3.0, 4.0, 5.0])
 plt.yticks([0,0.25,0.5])
 # plt.semilogy()

+ 1 - 1
data/ipedirectgma/plot.py

@@ -36,7 +36,7 @@ plt.xlabel('Packet size in (B)')
 plt.ylabel('Latency (us)')
 # plt.errorbar(xs, yscm, yerr=yscs, label='CPU')
 # plt.errorbar(xs, ysgm, ls='dotted', yerr=ysgs, label='GPU')
-plt.plot(xs, yscm, 'o-', markersize=4, label='Main memory', color='#d54d4d')
+plt.plot(xs, yscm, 'o-', markersize=4, label='Main memory', color='#77DD77')
 plt.plot(xs, ysgm, 'x-', label='GPU memory', color='#3b5b92')
 plt.xticks([128, 1024, 2048, 2048+1024, 4096])
 plt.yticks([2,4,6,8])

+ 1 - 1
data/throughput.py

@@ -15,7 +15,7 @@ plt.rc('font', **dict(family='serif'))
 #plt.figure(figsize=(8, 4))
 
 ax.semilogx(gpu_data[:,0], gpu_data[:,1], '*-', color='#3b5b92', label='GPU')
-ax.semilogx(cpu_data[:,0], cpu_data[:,1], 'o-', color='#d54d4d', label='CPU')
+ax.semilogx(cpu_data[:,0], cpu_data[:,1], 'o-', color='#77DD77', label='CPU')
 ax.axis["right"].set_visible(False)
 ax.axis["top"].set_visible(False)
 plt.xticks([1e4,1e6,1e8,1e10])

+ 14 - 14
figures/transf.svg

@@ -13,7 +13,7 @@
    height="217.01558"
    id="svg4308"
    version="1.1"
-   inkscape:version="0.48.4 r9939"
+   inkscape:version="0.48.3.1 r9886"
    sodipodi:docname="transf.svg">
   <defs
      id="defs4310">
@@ -307,19 +307,19 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="1.4"
-     inkscape:cx="484.67334"
-     inkscape:cy="57.67729"
+     inkscape:zoom="0.7"
+     inkscape:cx="396.21263"
+     inkscape:cy="-24.680891"
      inkscape:document-units="px"
      inkscape:current-layer="layer2"
      showgrid="false"
      showguides="false"
      inkscape:guide-bbox="true"
-     inkscape:window-width="1614"
-     inkscape:window-height="823"
-     inkscape:window-x="2914"
-     inkscape:window-y="577"
-     inkscape:window-maximized="0"
+     inkscape:window-width="1920"
+     inkscape:window-height="1124"
+     inkscape:window-x="0"
+     inkscape:window-y="24"
+     inkscape:window-maximized="1"
      fit-margin-top="10"
      fit-margin-left="5"
      fit-margin-right="5"
@@ -671,7 +671,7 @@
          inkscape:connector-curvature="0"
          id="path8542"
          d="m -199.45883,446.33949 0,0.77885 0,11.96039 0,0.94566 1.00133,-0.16681 0.27815,-0.0557 c 0.71654,0 1.27948,0.52453 1.27948,1.22381 0,0.71653 -0.56294,1.27947 -1.27948,1.27947 l -0.27815,-0.0557 -1.00133,-0.22257 0,1.00133 0,4.67293 0,0.94567 1.00133,-0.16682 0.27815,-0.0557 c 0.71654,0 1.27948,0.52453 1.27948,1.22381 0,0.68541 -0.55301,1.17882 -1.22385,1.22389 l -0.33378,-0.0557 -1.00133,-0.22248 0,1.05691 0,10.514 0,0.77886 0.83444,0 69.98203,0 0.9457,0 0.28432,0 0,-0.79784 0.019,-3.44903 c 3.8e-4,-0.0693 0.44701,-0.0237 0.80191,-0.0301 0.38192,-0.009 0.38794,0.009 0.38785,0.0365 l -0.009,2.81618 0.006,1.4149 0.29026,0.009 0.11125,0 0.77882,0 0.83444,0 85.78084,0 0.77881,0 0,-0.77885 0,-10.51401 0,-1.00133 -0.94571,0.16682 -0.38941,0.0557 c -0.6561,-0.0447 -1.22384,-0.53849 -1.22384,-1.2239 0,-0.69928 0.58022,-1.22381 1.27948,-1.22381 l 0.33377,0.0557 0.94571,0.22257 0,-1.00133 0,-4.67293 0,-1.00133 -0.94571,0.16681 -0.38941,0.0557 c -0.6561,-0.0447 -1.22384,-0.53849 -1.22384,-1.2239 0,-0.69918 0.58022,-1.2238 1.27948,-1.2238 l 0.33377,0.0557 0.94571,0.22257 0,-1.00133 0,-11.96038 0,-0.77876 -0.77881,0 -160.21322,0 -0.83445,0 z m 1.61325,1.61328 158.59997,0 0,10.3471 c -1.39566,0.19091 -2.55896,1.28103 -2.55896,2.72585 0,1.45833 1.15447,2.59809 2.55896,2.78151 l 0,3.11523 c -1.40449,0.18278 -2.55896,1.27473 -2.55896,2.72585 0,1.45833 1.15447,2.59809 2.55896,2.78151 l 0,8.90073 -85.79365,0.0137 -0.0134,-2.4092 c -0.005,-0.96172 -0.14324,-1.2625 -1.82995,-1.2625 l 0,-0.0192 c -0.91587,0 -1.64844,0.12912 -1.64844,1.06028 l 0,2.61461 -0.11126,0 -69.20321,0 0,-8.90073 c 1.40715,-0.18716 2.55896,-1.3261 2.55896,-2.78151 0,-1.44054 -1.16269,-2.4739 -2.55896,-2.67019 l 0,-3.22655 c 1.39627,-0.19702 2.55896,-1.2782 2.55896,-2.72585 0,-1.44172 -1.16103,-2.53102 -2.55896,-2.72585 z"
-         style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.90818578;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" />
+         style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#770000;fill-opacity:1;stroke:none;stroke-width:0.90818578000000005;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" />
       <path
          inkscape:connector-curvature="0"
          style="fill:#000000;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none"
@@ -679,7 +679,7 @@
          id="path8546" />
       <path
          inkscape:connector-curvature="0"
-         style="fill:#f3c84a;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none"
+         style="fill:#77be77;stroke:#aeaeae;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
          d="m -172.54769,449.11699 0,25.67512 12.96879,0 0,-25.67512 -12.96879,0 z"
          id="path8548" />
       <path
@@ -689,7 +689,7 @@
          id="path8550" />
       <path
          inkscape:connector-curvature="0"
-         style="fill:#f3c84a;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none"
+         style="fill:#77be77;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none"
          d="m -134.69398,449.11699 0,25.67512 13.0188,0 0,-25.67512 -13.0188,0 z"
          id="path8552" />
       <path
@@ -704,7 +704,7 @@
          id="path8556" />
       <path
          inkscape:connector-curvature="0"
-         style="fill:#8aa678;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none"
+         style="fill:#77be77;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1"
          d="m -77.78837,449.11699 0,25.67512 12.96879,0 0,-25.67512 -12.96879,0 z"
          id="path8558" />
       <path
@@ -1726,7 +1726,7 @@
          y="596.8454"
          style="font-size:24px;font-family:Nimbus Roman No9 L;-inkscape-font-specification:Nimbus Roman No9 L">Feedback</tspan></text>
     <rect
-       style="fill:none;stroke:#000000;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       style="fill:none;stroke:none;stroke-width:1.80000000000000004;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
        id="rect4540"
        width="386.92685"
        height="48.365856"