Skip to content
Snippets Groups Projects
Commit 050527f3 authored by gael.alory_legos.obs-mip.fr's avatar gael.alory_legos.obs-mip.fr
Browse files

marges de la carte

parent 8aedf8aa
No related branches found
No related tags found
No related merge requests found
......@@ -45,14 +45,14 @@ if ~isempty( ind )
%oversize window due to the large frame
%--------------------------------------
latRange = (latMax-latMin);
latMin = max(latMin - 0.05*latRange, -90);
latMax = min(latMax + 0.05*latRange, 90);
latMin = max(min(latMin - 0.05*latRange, latMin - 2), -90);
latMax = min(max(latMax + 0.05*latRange, latMax + 2), 90);
if lonMax > (lonMin+360)
lonMax = lonMin+360;
end
lonRange = (lonMax-lonMin);
lonMin = lonMin - 0.03*lonRange;
lonMax = lonMax + 0.03*lonRange;
lonMin = min(lonMin - 0.03*lonRange, lonMin -2);
lonMax = max(lonMax + 0.03*lonRange, lonMax +2);
% Positionning the right axes
% ----------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment