In [1]:
%matplotlib inline
In [2]:
import pandas as pd
import matplotlib.pyplot as plt
In [3]:
! cargo run --release --example=goy_shell > goy.csv
    Finished release [optimized] target(s) in 0.0 secs
     Running `target/release/examples/goy_shell`
In [4]:
df = pd.read_csv("goy.csv").set_index("time")
In [5]:
df[["r4", "r8", "r16", "r26"]].plot()
Out[5]:
<matplotlib.axes._subplots.AxesSubplot at 0x7f7cf4241c88>
In [6]:
(df**2).mean().plot()
plt.yscale("log")