Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TSG QC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
US191
TSG QC
Commits
2c52b3d1
Commit
2c52b3d1
authored
17 years ago
by
jacques.grelet_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
utilise les conventions NetCDF V1.4
parent
0039f2f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsg_util/plotmap.m
+49
-0
49 additions, 0 deletions
tsg_util/plotmap.m
with
49 additions
and
0 deletions
tsg_util/plotmap.m
0 → 100644
+
49
−
0
View file @
2c52b3d1
function
tsg_plotmap
(
hTsgGUI
,
hAxes
)
% Function to plot the earth map and ship trackline
%
% Input
% -----
% hTsgGUI ............ Handel to the main user interface
% hPlotAxes .......... Handels to the graphic axes
%
% Output
% ------
%
% Library : 'M_MAP'
%
% PROBLEM NOT YET RESOLVED
% Does M_MAP use 0-360° or -180°-180° covention ?
% $Id$
% Retrieve named application data
% -------------------------------
tsg
=
getappdata
(
hTsgGUI
,
'tsg_data'
);
% Positionning the right axes
% ----------------------------
axes
(
hAxes
(
4
));
% Use of Mercator projection
% --------------------------
m_proj
(
'Mercator'
,
'lat'
,[
-
70
70
],
'long'
,[
-
180
180
]);
% detailed coast lines
% m_gshhs_i('patch',[.7 .7 .7]);
% Less detailed coast lines
% m_gshhs_l('patch',[.7 .7 .7]);
% Lesser detailed coast lines
% ----------------------------
m_coast
(
'patch'
,[
.
7
.
7
.
7
]);
m_grid
(
'box'
,
'fancy'
,
'tickdir'
,
'in'
,
...
'ytick'
,
[
-
70
:
20
:
70
],
...
'xtick'
,
[
-
180
:
40
:
180
],
...
'Fontsize'
,
[
10
]);
% Plot the ship track - Check if LAT-LON in deg-decimal
% -----------------------------------------------------
m_line
(
tsg
.
LONX
,
tsg
.
LATX
,
'marker'
,
'.'
,
'markersize'
,
3
,
'color'
,
'b'
);
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment