|
11 | 11 | % See also background, ground_track. |
12 | 12 | % |
13 | 13 | % Copyright © 2021 Tamas Kis |
14 | | -% Last Update: 2022-04-20 |
| 14 | +% Last Update: 2022-07-06 |
15 | 15 | % Website: https://tamaskis.github.io |
16 | 16 | % Contact: tamas.a.kis@outlook.com |
17 | 17 | % |
18 | 18 | % TECHNICAL DOCUMENTATION: |
19 | | -% https://tamaskis.github.io/documentation/Visualizing_Celestial_Bodies_in_3D.pdf |
| 19 | +% https://tamaskis.github.io/files/Visualizing_Celestial_Bodies_in_3D.pdf |
20 | 20 | % |
21 | 21 | %-------------------------------------------------------------------------- |
22 | 22 | % |
23 | 23 | % ------ |
24 | 24 | % INPUT: |
25 | 25 | % ------ |
26 | | -% planet - (char) (OPTIONAL) 'Sun', 'Moon', 'Mercury', 'Venus', |
| 26 | +% planet - (OPTIONAL) (char) 'Sun', 'Moon', 'Mercury', 'Venus', |
27 | 27 | % 'Earth', 'Earth Cloudy', 'Earth Coastlines', |
28 | 28 | % 'Earth Night', 'Earth Night Cloudy', 'Mars', |
29 | 29 | % 'Jupiter', 'Saturn', 'Uranus', 'Neptune', or 'Pluto' |
30 | 30 | % (defaults to 'Earth Cloudy') |
31 | | -% opts - (1×1 struct) (OPTIONAL) plot options |
| 31 | +% opts - (OPTIONAL) (1×1 struct) plot options |
32 | 32 | % • Clipping - (char) 'on' or 'off' (defaults to 'off') |
33 | 33 | % --> if 'on', the surface will be "clipped" to fit |
34 | 34 | % the axes when zooming in |
|
230 | 230 | 'FaceAlpha',FaceAlpha); |
231 | 231 |
|
232 | 232 | % loads coastline data |
233 | | - coastlines_data = struct2array(load('coastlines_data')); |
| 233 | + coastlines_data = struct2cell(load('coastlines_data')); |
| 234 | + coastlines_data = [coastlines_data{:}]; |
234 | 235 |
|
235 | 236 | % extracts ECEF coordinates of coastlines |
236 | 237 | x_coast = coastlines_data.X; |
|
0 commit comments