Display problem with geoshow

1 次查看(过去 30 天)
Mel
Mel 2012-1-31
I am trying to make a map of some test results using global SST data. The following code projects the results very well, but the displayed data is centered on England [-180 180]. I would like to center the data on the Pacific Ocean (i.e. [0 360]). Any help would be greatly appreciated. I can recenter the test results with no problem, but can not geoshow to recenter the coast outline.
X = -179.5:1:179.5;
Y = -89.5:1:89.5;
surface(X,Y,TestCorr)
colormap jet
shading interp %flat
caxis([-1.0 1.0]) % Sets the range of the colorbar
colorbar('location','eastoutside')
hold on
coast = load('coast.mat');
geoshow(coast.lat,coast.long, 'Color','k','LineWidth',1.5)

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by