Effacer les filtres
Effacer les filtres

Hi, how can I insert the coordinates in utm zone on the axes?

4 vues (au cours des 30 derniers jours)
DUMITRU ROBERT GUGIU
DUMITRU ROBERT GUGIU le 4 Fév 2021
Modifié(e) : dpb le 4 Fév 2021
Hi, how can I insert the coordinates in utm zone on the axes?
type 12 ° E 43 ° N
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all; clc;
%% parte dedicata a lettura dati
ncfile='T32TQM_20150704_20181230_S2_L3A_10m_TSM_CTWORCC_clip.nc';
ncinfo(ncfile);
ncdisp(ncfile);
x=ncread(ncfile,'x');
y=ncread(ncfile,'y');
time= ncread(ncfile,'time');
date_matlab = datetime(time, 'convertfrom','posixtime');
for t=286
startLoc = [1 1 t];
count = [Inf Inf 1];
d = ncread(ncfile,'TSM',startLoc,count);
d=d';
clf
mymap=pcolor(x,y,d);
mymap.EdgeAlpha=0
hold on
load coast
plot(long,lat+0.1,'black')
set(gca,'ColorScale','log')
caxis([1 100])
sr=colorbar
sr.Label.String = 'g/m^3';
xlabel('m')
ylabel('m')
caption = sprintf('%s','tsm [g/m3]' , date_matlab(t),'[UTC]',' V MAX_ ', vmax(t), ' v med_ ', vmed);
caption1 = sprintf('%s', date_matlab(t));
title(caption, 'FontSize', 10, 'FontWeight', 'bold', 'Color', 'b');
print(['TSM_01s' datestr(date_matlab(t),'ddmmyyyy') '.png'],'-dpng');
%print(['imm_satellit_01S ' num2str(time(t)) '.png'],'-dpng');
end

Réponses (0)

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by