Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

plot the variable and country borders

조회 수: 4 (최근 30일)
Yogesh Kumkar
Yogesh Kumkar 2022년 3월 9일
마감: KSSV 2022년 3월 9일
I have the netcdf file and want to plot a variable and country (Norway, Sweden, and Finland) borders on it.
Temp = ncread('/Volumes/YKMac/TemperatureNSF.nc','ts');
figure(3);
h11=imagesc(rot90(Temp));axis on;grid;
set(h11,'alphadata',~isnan(rot90(Temp)));
set(gca,'color', [0.5 0.5 0.5]); %caxis([0 100]);
colormap(bluewhitered(256)); colorbar;
% Norway=shaperead('Norway.shp');
% yticklabels({'69','67','65','63','61','59','57','55'});
% xticklabels({'0','5','10','15','20','25','30','35'});
% ylabel('Lat');xlabel('Lon');
title('Temperature','fontsize',14);
set(gcf,'inverthardcopy',false);
saveas(gcf,'/Volumes/YKMac/Temperature.png');
The netcdf file and the plot is attached.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by