diff --git a/ReleaseNotes b/ReleaseNotes index a6e3a7fd415303f541f16cd291f33fadebd8af31..e6c3c13dcf9902eade930796b147fe27e84fbd93 100644 --- a/ReleaseNotes +++ b/ReleaseNotes @@ -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 diff --git a/tsg_util/plot_map.m b/tsg_util/plot_map.m index aaae1b7a38e483bbfbd0ef581a28d74f90306387..0395f18bcb515a2cf19cceb2617438ff01d2deaf 100644 --- a/tsg_util/plot_map.m +++ b/tsg_util/plot_map.m @@ -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;