In [ ]:
import numpy as np
from astropy import units as u

from poliastro.bodies import Earth, Sun
from poliastro.twobody import State

%matplotlib inline

In [ ]:
# Data from Curtis, example 4.3
r = [-6045, -3490, 2500] * u.km
v = [-3.457, 6.618, 2.533] * u.km / u.s

ss = State.from_vectors(Earth, r, v)

In [6]:
from poliastro.plotting import plot
plot(ss)


/Users/davekensinger/anaconda/lib/python3.5/site-packages/matplotlib/axes/_axes.py:519: UserWarning: No labelled objects found. Use label='...' kwarg on individual plots.
  warnings.warn("No labelled objects found. "
Out[6]:
[<matplotlib.lines.Line2D at 0x112e9a6d8>,
 <matplotlib.lines.Line2D at 0x112dcf2e8>]

In [ ]: