In [ ]:
import opencor as oc

In [ ]:
s = oc.open_simulation('../sedml/lorenz.sedml')
s

In [ ]:
s.run()

In [ ]:
r = s.results()
r

In [ ]:
states = r.states()
states

In [ ]:
x = states['main/x'].values()
y = states['main/y'].values()
z = states['main/z'].values()
x,y,z

In [ ]:
%matplotlib inline
from mpl_toolkits import mplot3d
import matplotlib.pyplot as plt

In [ ]:
plt.axes(projection='3d').plot3D(x, y, z)

In [ ]: