cvode-rust-wrap/example/plot.py
2021-06-08 15:00:11 +02:00

7 lines
158 B
Python

import pandas as pd
import sys
import matplotlib.pyplot as plt
df = pd.read_csv(sys.stdin,names=['t','x',r'\dot{x}'],index_col='t')
ax = df.plot()
plt.show()