-
Notifications
You must be signed in to change notification settings - Fork 0
/
Visualizations.m
206 lines (182 loc) · 4.25 KB
/
Visualizations.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
% Visulalizing the orthometric height
figure;
mesh(lons, lats, N);
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Long Wavelength Undulations (m)')'
figure;
[M,c] =contourf(lons, lats, N);
c.linewidth = 10;
colorbar;
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Long Wavelength Undulations (m)')'
% Visulalizing the Normal Gravity
figure;
mesh(lons, lats, compute_normal_grav(lats, 'WGS84'));
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Normal Gravity (mGal)')'
figure;
[M,c] =contourf(lons, lats, compute_normal_grav(lats, 'WGS84'));
c.linewidth = 10;
colorbar;
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Normal Gravity (mGal)')'
% Visualizing dg_smw_atm
figure;
[M,c] =contourf(lons, lats, dg_smw_atm);
c.linewidth = 10;
colorbar;
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Gravity Anomaly (mGal)')';
figure;
mesh(lons, lats, dg_smw_atm);
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Gravity Anomaly(mGal)')'
% Visulaizing the TC
figure;
[M,c] =contourf(lons, lats, TC);
caxis([0,0.6]);
c.linewidth = 10;
colorbar;
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Terrain Correction (mGal)')';
figure;
mesh(lons, lats, TC);
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Terrain Correction(mGal)')'
% Faye Anomaly
figure;
[M,c] =contourf(lons, lats, g_faye);
c.linewidth = 10;
colorbar;
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Faye Anomaly (mGal)')';
figure;
mesh(lons, lats, g_faye);
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Faye Anomaly(mGal)')'
% Disturbing Potential
figure;
[M,c] =contourf(lons, lats, Tr);
c.linewidth = 10;
colorbar;
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Disturbing Potential (mGal- m)')';
figure;
mesh(lons, lats, Tr);
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Disturbing Potential(mGal- m)')'
% Undulation
figure;
[M,c] =contourf(lons, lats, Nr);
c.linewidth = 10;
colorbar;
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Undulation (m)')';
figure;
mesh(lons, lats, Nr);
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Undulation (m)')'
% DEM Heights
figure;
[M,c] =contourf(X_dem, Y_dem, H_dem);
c.linewidth = 10;
colorbar;
xlim([min(min(X_dem)), max(max(X_dem))]);
xlabel('longitude');
ylabel('latitude');
title('Heights (m)')';
figure;
mesh(X_dem, Y_dem, H_dem);
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Heights (m)')'
% Co-geoid
figure;
[M,c] =contourf(lons, lats, N_cogeoid);
c.linewidth = 10;
colorbar;
xlim([min(min(X_dem)), max(max(X_dem))]);
xlabel('longitude');
ylabel('latitude');
title('Co-geoid (m)')';
figure;
mesh(lons, lats, N_cogeoid);
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Co-geoid (m)')'
% Geoid
figure;
[M,c] =contourf(lons, lats, real(N_geoid'));
c.linewidth = 10;
colorbar;
xlim([min(min(X_dem)), max(max(X_dem))]);
xlabel('longitude');
ylabel('latitude');
title('geoid (m)')';
figure;
mesh(lons, lats, real(N_geoid));
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('geoid (m)')'
% Indirect Effect
figure;
[M,c] =contourf(lons, lats, real(dN));
c.linewidth = 10;
colorbar;
xlim([min(min(X_dem)), max(max(X_dem))]);
xlabel('longitude');
ylabel('latitude');
title('Indirect Effect (m)')';
figure;
mesh(lons, lats, real(dN));
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Indirect Effect (m)')'
% FAA
g_faa = griddata(lon, lat, FAA, lons, lats, 'v4');
figure;
[M,c] =contourf(lons, lats, g_faa);
c.linewidth = 10;
colorbar;
xlim([min(min(X_dem)), max(max(X_dem))]);
xlabel('longitude');
ylabel('latitude');
title('Free Air Anomaly (mGal)')';
figure;
mesh(lons, lats, g_faa);
xlim([min(min(lons)), max(max(lons))]);
xlabel('longitude');
ylabel('latitude');
title('Free Air Anomaly (mGal)')'