Created
August 24, 2019 16:46
-
-
Save ghoshbishakh/6e388b205c3108cb90c1d349daac855c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import matplotlib | |
import matplotlib.pyplot as plt | |
import numpy as np | |
# plt.style.use('ggplot') | |
fig1, ax1 = plt.subplots() | |
data = [meanthreshold_finaluserlatencies, percentilethreshold_finaluserlatencies, nothing_finaluserlatencies, random_finaluserlatencies] | |
mylabels = ["Mean\nThreshold", "Percentile\nThreshold", "No Scaling", "Random Scaling"] | |
b = ax1.boxplot(data, showfliers=False, labels=mylabels, patch_artist=True) | |
ax1.yaxis.grid(True) | |
ax1.set(ylabel="Time (ms)") | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment