|
1 | 1 | ### A Pluto.jl notebook ### |
2 | | -# v0.20.8 |
| 2 | +# v0.20.13 |
3 | 3 |
|
4 | 4 | using Markdown |
5 | 5 | using InteractiveUtils |
@@ -122,6 +122,22 @@ begin |
122 | 122 | p2 |
123 | 123 | end |
124 | 124 |
|
| 125 | +# ╔═╡ 39bdbe6a-52ae-44d2-8e80-2e7d2a75e322 |
| 126 | +begin |
| 127 | + using MagNav: get_step |
| 128 | + (map_map,px,py) = map_expand(e_mapS_395.map,200) |
| 129 | + px_end = size(map_map,2) - length(e_mapS_395.xx) - px |
| 130 | + py_end = size(map_map,1) - length(e_mapS_395.yy) - py |
| 131 | + dx = get_step(e_mapS_395.xx) |
| 132 | + dy = get_step(e_mapS_395.yy) |
| 133 | + xx = [(e_mapS_395.xx[1]-dx*px):dx:(e_mapS_395.xx[end]+dx*px_end);] |
| 134 | + yy = [(e_mapS_395.yy[1]-dy*py):dy:(e_mapS_395.yy[end]+dy*py_end);] |
| 135 | + (lat,lon) = map_border(e_mapS_395;sort_border=true) # get map border |
| 136 | + p5 = plot_map(map_map,xx,yy;dpi=dpi) |
| 137 | + plot_path!(p5,lat,lon;path_color=:black) |
| 138 | + p5 |
| 139 | +end |
| 140 | + |
125 | 141 | # ╔═╡ 2d18bbeb-ad4e-4c5b-80a3-25bd99f45c73 |
126 | 142 | md"## Plot Eastern Ontario altitude map CDF |
127 | 143 |
|
@@ -161,22 +177,6 @@ md"## Plot expanded Eastern Ontario map |
161 | 177 | The original map area is show with a black outline. During upward (or downward) continuation, the map is temporarily expanded with \"wrapped\" edges for a more accurate result. |
162 | 178 | " |
163 | 179 |
|
164 | | -# ╔═╡ 39bdbe6a-52ae-44d2-8e80-2e7d2a75e322 |
165 | | -begin |
166 | | - using MagNav: get_step |
167 | | - (map_map,px,py) = map_expand(e_mapS_395.map,200) |
168 | | - px_end = size(map_map,2) - length(e_mapS_395.xx) - px |
169 | | - py_end = size(map_map,1) - length(e_mapS_395.yy) - py |
170 | | - dx = get_step(e_mapS_395.xx) |
171 | | - dy = get_step(e_mapS_395.yy) |
172 | | - xx = [(e_mapS_395.xx[1]-dx*px):dx:(e_mapS_395.xx[end]+dx*px_end);] |
173 | | - yy = [(e_mapS_395.yy[1]-dy*py):dy:(e_mapS_395.yy[end]+dy*py_end);] |
174 | | - (lat,lon) = map_border(e_mapS_395;sort_border=true) # get map border |
175 | | - p5 = plot_map(map_map,xx,yy;dpi=dpi) |
176 | | - plot_path!(p5,lat,lon;path_color=:black) |
177 | | - p5 |
178 | | -end |
179 | | - |
180 | 180 | # ╔═╡ 8b5c030a-e0b9-4a7a-a901-a6967edbe70b |
181 | 181 | md"## Plot combined Eastern Ontario and NAMAD maps together |
182 | 182 |
|
@@ -273,8 +273,8 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" |
273 | 273 | [compat] |
274 | 274 | CSV = "~0.10.15" |
275 | 275 | DataFrames = "~1.7.0" |
276 | | -MagNav = "~1.3.1" |
277 | | -Plots = "~1.40.13" |
| 276 | +MagNav = "~1.3.3" |
| 277 | +Plots = "~1.40.14" |
278 | 278 | Random = "~1.11.0" |
279 | 279 | Statistics = "~1.11.1" |
280 | 280 | """ |
|
0 commit comments