Display problem with geoshow

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)

Answers (0)

Tags

Asked:

Mel
on 31 Jan 2012

Community Treasure Hunt

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

Start Hunting!