Skip to content

Commit

Permalink
Update plot_saa.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andykee authored Nov 10, 2024
1 parent 8c462bc commit b45ce4a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions matplotlib/plot_saa.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ mag = np.zeros_like(lats)

gm = GeoMag()
for ix, iy in np.ndindex(lats.shape):
mag[ix, iy] = gm.calculate(glat=lats[ix, iy],
glon=lons[ix, iy],
alt=500,
time=2020.0).f
mag[ix, iy] = gm.calculate(glat=lats[ix, iy], glon=lons[ix, iy],
alt=500, time=2020.0).f

# don't draw contours for values above 22000 nT
contour_max = 22000
Expand All @@ -47,4 +45,4 @@ m.contour(x=lons, y=lats, data=mag_contour, latlon=True,
levels=7, colors='w', linewidths=0.5)
```

<img src="matplotlib-saa.png" width="500">
<img src="matplotlib-saa.png" width="700">

0 comments on commit b45ce4a

Please sign in to comment.