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 ビュー (過去 30 日間)
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 件のコメント
James Karden
James Karden 2021 年 2 月 5 日
Hi Sushovan!
I have this same question, we're you able to solve it or find an answer?
Thanks!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by