Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
bytecode-benchmarks timegraph.py
663 B · 31 lines
Python
at develop
1234567891011121314151617181920212223242526272829303132#!/usr/bin/env python3
import sys
import matplotlib.pyplot as pltimport numpy as npimport pandas as pdimport seaborn as sns
sns.set(font_scale=1.6, style="whitegrid", font="IBM Plex Sans")
data = "timecmp.csv"df = pd.read_csv(data, index_col=0)
f, ax = plt.subplots(figsize=(7, 7))ax.set(xlim=(0.90, 100000), ylim=(0.90, 100000), xscale="log", yscale="log")
# ax.yaxis.set_major_formatter(ticker.EngFormatter())
sns.scatterplot( x="MiniZinc 2.5.5", y="Prototype Implementation", data=df, ax=ax, # hue="problem", # style="problem", legend=False,)plt.plot([0, 100000], [0, 100000], linewidth=2)
plt.savefig("timecmp.pdf")