% example reading and plotting latitude longitude, and sea-surface height % for face 3 (Arctic) and 6 (Antarctic) of the cube lon=readbin('../../grid/XC.data',[510 6 510]); lat=readbin('../../grid/YC.data',[510 6 510]); eta=readbin('../ETAN/ETAN.0000351612.data',[510 6 510]); clf subplot(321),mypcolor(squeeze(lon(:,3,:))'); colorbar,title('Longitude E (deg)') subplot(323),mypcolor(squeeze(lat(:,3,:))'); colorbar,title('Latitude N (deg)') subplot(325),mypcolor(squeeze(eta(:,3,:))'); colorbar,title('ETAN (m)') subplot(322),mypcolor(squeeze(lon(:,6,:))'); colorbar,title('Longitude E (deg)') subplot(324),mypcolor(squeeze(lat(:,6,:))'); colorbar,title('Latitude N (deg)') subplot(326),mypcolor(squeeze(eta(:,6,:))'); colorbar,title('ETAN (m)')