Does anyone helps in finding Spatial correlation along time dimension of atmos. var. ( lon X lat X time) along with significance (p<0.05)? I have 2 var(s) (ssa & diff_rad). I plotted spatial corr,but need stat. sign. stippling over that plot.
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
clc;
clear all
close all;
% load the two mat files containing the variables of interest
load SSA.mat
load Diffused_rad.mat
% % correlation calculation using nancorr2 function:-
data1=diff_clr_rad_2001_18;
data2=ssa_2001_18_inter;
data1 (data1==-999) = nan; % missing value for data1 is -999;
data2 (data2==999999986991104) = nan; % missing value for data2 is 999999986991104
C = []; % C: Correlation coeff.
for i=1:33 %%% longitude
i
for j=1:32 %%% latitude
j
C(i,j)=nancorr2(squeeze(data1(i,j,:)),squeeze(data2(i,j,:))); % lat and lon
end
end
%% plotting the correlation coeff.
figure;
colormap(parula);
pcolor(longitude_plot,latitude_plot,C');
caxis([-1 1])
shading interp;
hold on;
geoshow('INDIA.shp','FaceColor','none');
% geoshow('world_map_10_01_17.shp','Color','k');
colorbar

% need the stippling plot at 95% statistical significance laying over the correlation plot.
1 comentario
James Karden
el 5 de Feb. de 2021
Hi Sushovan!
I have this same question, we're you able to solve it or find an answer?
Thanks!
Respuestas (0)
Ver también
Categorías
Más información sobre Line Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!