-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathplot_map_patch.diff
More file actions
47 lines (45 loc) · 1.93 KB
/
Copy pathplot_map_patch.diff
File metadata and controls
47 lines (45 loc) · 1.93 KB
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
--- tdoa_plot_map.m 2023-06-15 07:39:12.531485461 +0200
+++ tdoa_plot_map.m 2021-12-29 02:38:55.195793080 +0100
@@ -38,8 +38,8 @@
if ~plot_kiwi
set(0,'defaultaxesposition', [0.05, 0.05, 0.90, 0.9])
figure(1, 'position', [100,100, 900,600])
- plot_info.titlefontsize = 10;
- plot_info.labelfontsize = 7.5;
+ plot_info.titlefontsize = 10; # 10
+ plot_info.labelfontsize = 5; # 7.5
end
n_stn = length(input_data);
@@ -140,6 +140,7 @@
end
set(colorbar(),'XLabel', 'sqrt(\chi^2)/ndf')
printf('tdoa_plot_map_combined: [%.3f sec]\n', toc());
+ global mlp
ha = axes('Position', [0 0 1 1], ...
'Xlim', [0 1], ...
'Ylim', [0 1], ...
@@ -147,12 +148,13 @@
'Visible', 'off', ...
'Units', 'normalized', ...
'clipping', 'off');
- text(0.5, 0.98, plot_info.title, ...
+ text(0.5, 0.98, strcat(plot_info.title, mlp), ...
'fontweight', 'bold', ...
'horizontalalignment', 'center', ...
- 'fontsize', 15);
- print('-dpng','-S900,600', fullfile('png', sprintf('%s.png', plot_info.plotname)));
- print('-dpdf','-S900,600', fullfile('pdf', sprintf('%s.pdf', plot_info.plotname)));
+ 'fontsize', 12); # 15
+ ## print('-dpng','-S3600,2400', fullfile('png', sprintf('%s.png', plot_info.plotname)));
+ set(gcf, "paperunits", "points", "papersize", [900, 600], 'PaperPosition', [0 0 900 600]);
+ print('-dpdf', fullfile('pdf', sprintf('%s.pdf', plot_info.plotname)));
end
if plot_info.plot_kiwi_json
[h,h_max] = adjust_scale(plot_info, h);
@@ -184,6 +186,7 @@
_i = _i(_j);
pos = [plot_info.lat(_i) plot_info.lon(_j)];
printf('most likely position: lat = %.2f deg lon = %.2f deg\n', pos);
+ global mlp=cstrcat(sprintf(' - [lat %.2f lon %.2f]', plot_info.lat(_i), plot_info.lon(_j)));
endfunction
function [bb_lon, bb_lat, idx_lon, idx_lat] = find_bounding_box(plot_info, h)