plot - Plotting orbits in Python from orbital elements -
i have created program take position , velocity state vectors , calculate of keplerian orbital elements. next step want plot orbit! advice on how approach using python 3? also, advice migrate question (if spot not appropriate) appreciated.
the best plotting package is, far, pyplot. essentialy port of matlab plotting system python, works better original. install numpy & matplotlib , @ simple plotting tutorials. plotting like:
import matplotlib.pyplot plt; plt.plot(x, y, color); plt.show();
where x , y 1d arrays of corresponding x, y values. answer can't more specific, since don't give details how variables stored.
Comments
Post a Comment