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 Ansichten (letzte 30 Tage)
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.

Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by