Skip to content

Instantly share code, notes, and snippets.

@sbesson
Created December 3, 2024 10:09
Show Gist options
  • Save sbesson/0d9b04e6cc280dbc572e268218f564d3 to your computer and use it in GitHub Desktop.
Save sbesson/0d9b04e6cc280dbc572e268218f564d3 to your computer and use it in GitHub Desktop.
import pandas
import matplotlib.pyplot
df = pandas.read_csv("random.csv")
df["Plane index"]=df.index
ax = df.plot(kind='scatter', x='Plane index', y='PR4249 (run 1)', label='PR 4249', color='darkorange')
df.plot(kind='scatter', x='Plane index', y='PR4249 (run 2)', color='darkorange', ax=ax)
df.plot(kind='scatter', x='Plane index', y='PR4249 (run 3)', color='darkorange', ax=ax)
df.plot(kind='scatter', x='Plane index', y='8.0.1 (run 1)', label='8.0.1', color='darkblue', ax=ax)
df.plot(kind='scatter', x='Plane index', y='8.0.1 (run 2)', color='darkblue', ax=ax)
df.plot(kind='scatter', x='Plane index', y='8.0.1 (run 3)', color='darkblue', ax=ax)
ax.set_ylabel("Time (ms)")
matplotlib.pyplot.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment