<div dir="ltr"><div>I am not sure what you are doing.</div><div>You should provide more information.<br></div><div><br></div><div>Does 'dfcor' contain a correlation?</div><div> printVarSummary(dfcor)</div><div> printMinMax(dfcor,0)</div><div><br></div><div>Why did you make it a one-dimensional array?</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 2:51 PM dale zuri via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Ncl user, <div>I have been trying to test the significance of an array using the following steps. I don't see any stripes on the figure. I am not sure where I'm going wrong. I don't get any warning message. I would appreciate any comments. </div><div><br></div><div>Thanks</div><div><br></div><div>;TTest:;;;;;</div><div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">x1d=</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">ndtooned</span><span style="font-variant-ligatures:no-common-ligatures">(dfcor)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">n<span> </span>= </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">dimsizes</span><span style="font-variant-ligatures:no-common-ligatures">(x1d)<span> </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">; n=11</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">df <span> </span>= n-</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">2</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">siglvl=</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0.05</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>ppr <span> </span>= </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">rtest</span><span style="font-variant-ligatures:no-common-ligatures">(x1d, n, </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0</span><span style="font-variant-ligatures:no-common-ligatures">)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,187,199)"><span style="font-variant-ligatures:no-common-ligatures">printVarSummary</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(ppr)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>x4d <span> </span>= </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">onedtond</span><span style="font-variant-ligatures:no-common-ligatures">(ppr,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(206,121,36)">(/</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">26</span><span style="font-variant-ligatures:no-common-ligatures">,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">76</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(206,121,36)">/)</span><span style="font-variant-ligatures:no-common-ligatures">)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,187,199)"><span style="font-variant-ligatures:no-common-ligatures">printVarSummary</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(x4d)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">x4d = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">where</span><span style="font-variant-ligatures:no-common-ligatures">(x4d</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(206,121,36)">.lt.</span><span style="font-variant-ligatures:no-common-ligatures">siglvl, </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">1</span><span style="font-variant-ligatures:no-common-ligatures">, x4d)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(213,59,211)"><span style="font-variant-ligatures:no-common-ligatures">printMinMax</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(x4d,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">)</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(213,59,211)">;overlay plot::::::</p></div><div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">opt = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">True</span><span style="font-variant-ligatures:no-common-ligatures"> <span> </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">; set up parameters for pattern fill</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>opt@gsnShadeFillType = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"pattern"</span><span style="font-variant-ligatures:no-common-ligatures"> <span> </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">; specify pattern fill</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>opt@gsnShadeLow<span> </span>= </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">17</span><span style="font-variant-ligatures:no-common-ligatures"> <span> </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">; stipple pattern</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures">;<span> </span>opt@gsnShadeDotSizeF = 3 <span> </span>; make dots larger</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>plot2<span> </span>= </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(213,59,211)">gsn_csm_contour</span><span style="font-variant-ligatures:no-common-ligatures">(wks,x4d,res2)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"><span> </span>plot2 <span> </span>= </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(213,59,211)">gsn_contour_shade</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(plot2,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0.05</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">30</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">, opt)<span> </span></span><span style="font-variant-ligatures:no-common-ligatures">; stipple all areas >= 99%<span> </span>contour <span> </span></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span> </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">overlay</span><span style="font-variant-ligatures:no-common-ligatures"> (plot, plot2)</span></p></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>