Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions affichage.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,17 @@ def aff_cercle_visi(lon, lat, dlon, dlat, col, fig):
col : param affichage des cercles
"""
from params import CRD
from matplotlib.patches import Ellipse

## Ellipse
wi = dlat.max()
he = dlon.max()
ell = Ellipse(xy=(lon*CRD, lat*CRD), height=he*CRD,
width=wi*CRD, facecolor='none',
edgecolor='r')
ax = fig.add_subplot(111)
ax.add_patch(ell)
print(ell)

s = len(dlon)
lon_vis = np.zeros((2, s))
Expand Down