<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 </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 <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;"> </span></div><div> ccr = escorc(ts2,ts1)</div><div> </div><div> copy_VarCoords(ts1,ccr)</div><div> </div><div>;*************************************************</div><div>; statistical significance of ccr</div><div>;*************************************************</div><div> </div><div> siglvl=0.05</div><div><br></div><div> Nx = num(.not.ismissing(ts1))</div><div><br></div><div> prob = rtest(ccr,Nx, 0) </div><div> </div><div> 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> res2@cnLevelSelectionMode = "ManualLevels" </div><div> res2@cnMinLevelValF = 0.00 ; set min contour level</div><div> res2@cnMaxLevelValF = 1.05 ; set max contour level</div><div> res2@cnLevelSpacingF = 0.05 ; set contour spacing</div><div><br></div><div>plot2 = gsn_csm_contour(wks,gsn_add_cyclic_point(prob(:,:)), res2) </div><div><br></div><div> plot2 = ShadeLtContour(plot2,<font color="#ac193d" style="line-height: normal;"> 0.06, 17</font>) ; shade all areas less than the 0.05 contour level</div><div> 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 </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>