Plot generation improved

This commit is contained in:
Éder F. Zulian
2017-10-06 19:01:00 +02:00
parent 4f8093061e
commit 60877d778b

View File

@@ -236,8 +236,7 @@ def latency_histogram(connection, tracePath, steps):
import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages
numberOfBins='auto'
plt.hist(dataArray, bins=numberOfBins, histtype='barstacked', facecolor='green')
plt.hist(dataArray, histtype='bar', facecolor='green')
plt.grid(True)
plt.xlabel("Access Time [ns]")
plt.ylabel("Number of Accesses (Frequency)")