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
240ec758
Commit
240ec758
authored
6 years ago
by
jacques.grelet_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
shift half a grid point for climatology on map when using m_pcolor
parent
4b4be706
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ReleaseNotes
+1
-0
1 addition, 0 deletions
ReleaseNotes
tsg_util/plot_map.m
+5
-1
5 additions, 1 deletion
tsg_util/plot_map.m
with
6 additions
and
1 deletion
ReleaseNotes
+
1
−
0
View file @
240ec758
...
...
@@ -10,6 +10,7 @@ v1.48.5rc4 (2018-09-12)
+ add print preview and print menu command on map
+ add hypertext link in Command Window to download climatology file when is missing
+ add print/saveas menu on map with jpeg, png and epsc format
+ shift half a grid point for climatology on map when using m_pcolor
v1.48.5rc2 (2018-09-06)
+ regression on labview read file: the use of lat_dec and lon_dec by default
...
...
This diff is collapsed.
Click to expand it.
tsg_util/plot_map.m
+
5
−
1
View file @
240ec758
...
...
@@ -129,7 +129,11 @@ if ~isempty( ind )
% plot 2D climatogogy on map
if
strcmp
(
tsg
.
preference
.
map_climatology
,
'on'
)
m_pcolor
(
lon
,
lat
,
climato
(
indLat
,
indLon
));
% We shift half a grid point
dx
=
mean
(
diff
(
lon
));
dy
=
mean
(
diff
(
lat
));
m_pcolor
(
lon
-
dx
/
2
,
lat
-
dy
/
2
,
climato
(
indLat
,
indLon
))
%m_pcolor(lon, lat, climato(indLat, indLon));
shading
flat
;
%colormap(m_colmap('jet','step',10));
colorbar
;
...
...
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