# How can I plot a satellite TLE from its orbital parameters using python and skyfield? [closed]

I have a function that uses TLEs (Two-line elements) from Celestrak to plot the visibility of a satellite in Python. Is there a method with skyfield or poliastro to plot a TLE from given orbital parameters ?

• What does "plot a TLE" mean? Are you interested in generating a Two Line Element set from a set of Keplerian orbital elements? If you add some more detail and context it will be helpful, thanks!
– uhoh
Jan 7, 2020 at 16:21
• Please clarify: What would be the x-axis and y-axis of the graph you desire? Jan 7, 2020 at 18:51
• OP was active after comments requesting clarification were posted, but no clarification has since been forthcoming, so I'm voting to close for "needs clarification".
– uhoh
Jan 12, 2020 at 2:10
• Hi @benben this could be an interesting question and fun to answer, but right now it's hard to tell exactly what you are asking. Can you take a moment to clarify? Thank you! Maybe you just want to "plot a trajectory from orbital parameters" instead of from a TLE? In that case I think you can just ask now to propagate an orbit from its Kelperian orbital elements with some Python package. Skyfield can't do that. PyEphem probably can, and probably Poliastro can as well.
– uhoh
Jan 12, 2020 at 2:13
• But Keplerian orbits assume a spherically symmetric Earth, and Earth is quite oblate with a J2 of roughly 1 part per thousand. This makes orbits precess fairly fast and makes Sun-synchronous orbits possible, so any accurate propagator will take an instantaneous osculating orbital element and immediately convert it to a state vector and then do a realistic numerical propagation.
– uhoh
Jan 12, 2020 at 2:19