X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fccn_emu_live%2Fplanetlab_4_nodes_linear.py;h=e3736196b6ab2259bcdd925256e647e903c7b5b6;hb=1966e2b39beb2c701007d0025cca81032634fb48;hp=bb3b449abcb3a1826d89291bfa31c954dd84b6dc;hpb=9bcab5f01a36287c70552b16ed6916f19a7b66bf;p=nepi.git diff --git a/examples/ccn_emu_live/planetlab_4_nodes_linear.py b/examples/ccn_emu_live/planetlab_4_nodes_linear.py index bb3b449a..e3736196 100644 --- a/examples/ccn_emu_live/planetlab_4_nodes_linear.py +++ b/examples/ccn_emu_live/planetlab_4_nodes_linear.py @@ -108,7 +108,7 @@ def post_process(ec, runs): low = numpy.array([float(m[1]) for m in metrics]) high = numpy.array([float(m[2]) for m in metrics]) error = [y - low, high - y] - x = list(range(1,runs + 1)) + x = range(1,runs + 1) # plot average RTT and confidence interval for each iteration pyplot.errorbar(x, y, yerr = error, fmt='o')