Plot statistically significant values!

3 Ansichten (letzte 30 Tage)
Sophia
Sophia am 12 Jul. 2017
Kommentiert: Sophia am 17 Jul. 2017
for i=1:361,
for j=1:361,
if ~isnan(anom_wint_r(i,j,:))
stats = regstats(squeeze(anom_wint_r(i,j,:)),years','linear',{'beta' 'rsquare' 'fstat'});
idanom_trend_per_winter(i,j) = stats.beta(2);
stats_pvalues = stats.fstat;
tpval(i,j) = stats_pvalues.pval;
else
idanom_trend_per_winter(i,j) = NaN;
tpval(i,j) = NaN;
end
end
end
I just want to plot the areas where the trends are statistically significant,i.e.plot idanom_trend_per_winter where tpval<=0.5*
  2 Kommentare
KSSV
KSSV am 13 Jul. 2017
What plot you expecting? A surface plot or line?
Sophia
Sophia am 17 Jul. 2017
I am expecting a contour plot.. with contourf (filled contours)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by