diff --git a/bin/server b/bin/server index 2478c84..19bad27 100755 Binary files a/bin/server and b/bin/server differ diff --git a/data/graphic.py b/data/graphic.py index 70627e8..44eed33 100644 --- a/data/graphic.py +++ b/data/graphic.py @@ -69,6 +69,8 @@ categorias = ["0,064KB","0,128KB","0,256KB","0,512KB","1KB","2KB","4KB","8KB"] plt.bar(categorias, valores, color='purple', width=0.8) +plt.yscale('log') + plt.xlabel('Tamanho do buffer em (KB)') plt.ylabel('Tempo de execução em (ms)') plt.title('Transmissão de Buffers entre Cliente e Servidor via Conexão por Socket') diff --git a/data/main.py b/data/main.py new file mode 100644 index 0000000..b9797ff --- /dev/null +++ b/data/main.py @@ -0,0 +1,11 @@ +import pylab +import matplotlib.pyplot as plt +a = [pow(10, i) for i in range(10)] +fig = plt.figure() +ax = fig.add_subplot(2, 1, 1) + +line, = ax.plot(a, color='blue', lw=2) + +ax.set_yscale('log') + +pylab.show()