<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Calibri,sans-serif" color="#000000"><span style="font-size: 21px;">I need to plot correlation and the significance level of 95%, which, I did r test and applied the example &nbsp;</span></font><h2 class="rmSubject" style="line-height: 29.990400314331055px; font-size: 21px; font-family: 'Segoe UI Light', 'Segoe UI Web Light', 'Segoe UI Web Regular', 'Segoe UI', 'Segoe UI Symbol', HelveticaNeue-Light, 'Helvetica Neue', Arial, sans-serif; font-weight: normal; margin: 0px 0px 13px; padding-top: 2px; color: rgb(68, 68, 68);">conOncon_4.ncl‏&nbsp;<span style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">of NCL, but I think there's something wrong with my script, because for all the data I use, plot area 100% the graph as significant, and I think there's something wrong, someone could help me on this?</span></h2><br><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">....</div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><div>; calculate cross correlations</div><div>;************************************************<span style="line-height: 22.719999313354492px; font-size: 12pt;">&nbsp;</span></div><div>&nbsp; ccr &nbsp; &nbsp;= &nbsp; escorc(ts2,ts1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; copy_VarCoords(ts1,ccr)</div><div>&nbsp;</div><div>;*************************************************</div><div>; &nbsp;statistical significance of ccr</div><div>;*************************************************</div><div>&nbsp;</div><div>&nbsp; siglvl=0.05</div><div><br></div><div>&nbsp; Nx &nbsp; &nbsp;= num(.not.ismissing(ts1))</div><div><br></div><div>&nbsp; prob &nbsp;= rtest(ccr,Nx, 0)&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; copy_VarCoords(ccr,prob)</div></div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">....</div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><div>&nbsp;res2@cnLevelSelectionMode = "ManualLevels"&nbsp;</div><div>&nbsp;res2@cnMinLevelValF &nbsp; &nbsp; &nbsp;= 0.00 &nbsp; &nbsp; &nbsp; &nbsp;; set min contour level</div><div>&nbsp;res2@cnMaxLevelValF &nbsp; &nbsp; &nbsp;= 1.05 &nbsp; &nbsp; &nbsp; &nbsp;; set max contour level</div><div>&nbsp; res2@cnLevelSpacingF &nbsp; &nbsp; = 0.05 &nbsp; &nbsp; &nbsp; &nbsp;; set contour spacing</div><div><br></div><div>plot2 &nbsp; = gsn_csm_contour(wks,gsn_add_cyclic_point(prob(:,:)), res2)&nbsp;</div><div><br></div><div>&nbsp; plot2 &nbsp; = ShadeLtContour(plot2,<font color="#ac193d" style="line-height: normal;">&nbsp;0.06, 17</font>) &nbsp;; shade all areas less than the &nbsp;0.05 contour level</div><div>&nbsp; overlay (plot, plot2)</div><div><br></div></div><div><font face="Comic Sans MS"><span style="line-height:17px;">---</span></font></div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font size="3" face="Comic Sans MS" style="font-size:12pt;"><font class="ecxApple-style-span">Vanúcia Schumacher</font></font></span><div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font face="Comic Sans MS">Mestranda em Meteorologia - UFV<font size="3" style="font-size:12pt;"><font class="ecxApple-style-span"><br style="line-height:17px;">Meteorologista -UFPel</font><br></font></font></span></div><div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font face="Comic Sans MS"><font size="3" style="font-size:12pt;"><font class="ecxApple-style-span">Departamento de Meteorologia Agrícola - DEA</font></font></font></span></div><div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font size="3" face="Comic Sans MS" style="font-size:12pt;"><font class="ecxApple-style-span">Cel: (31) 9978 2522&nbsp;</font></font></span></div><div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font size="3" face="Comic Sans MS" style="font-size:12pt;"><font class="ecxApple-style-span">DEA: (31) 3899 1890</font></font></span></div>                                               </div></body>
</html>