<div dir="ltr">Hi Hoffman,<div><br></div><div>Thanks for your answer, I think I get it, however I would have to set the <span style="font-size:12.8px">cnLevelSelectionMode for the second plot (res2, in my case), wouldn&#39;t I? </span></div><div>I just realised that if I don&#39;t specify any LevelSelectionMode (just leaving it as automatically), it seems to work..</div><div><br></div><div>Anyway, many thanks again,</div><div><br></div><div>Best</div><div><br></div><div>Noelia </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-20 16:26 GMT+02:00 Hoffman Cheung <span dir="ltr">&lt;<a href="mailto:hoffmancheung@gmail.com" target="_blank">hoffmancheung@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Noelia,<div><br></div><div>Let me try to answer this question briefly.</div><div><br></div><div>If you use gsn_contour_shade, you have to make sure the &quot;contour&quot; you are plotting is there, i.e. 0.05 and 1.960 in your case. Otherwise, the program may not work &quot;properly&quot;. Say, when you want to shade the parts smaller than 0.05, but</div><div><br></div><div>case 1: if the program only generates contours greater than 0.05, the plot will not be shaded;<br></div><div>case 2: if the program generates contours smaller than 0.05, then only part (not all) of the values smaller than 0.05 is shaded.</div><div><br></div><div>By default, the contour levels are set automatically, such that the 0.05 might not be there. To solve the problem, you have to set cnLevelSelectionMode, e.g.</div><div>res@cnLevelSelectionMode = &quot;ExplicitLevels&quot;</div><div>res@cnLevels = (/0., 0.05/) ; depending on which contour intervals want to draw</div><div>res@cnLinesOn = False ; turn the resource off if you do not want to draw the line (similar for the two resources below)</div><div>res@cnLineLabelsOn = False</div><div>res@cnInfoLabelOn = False</div><div><br></div><div>Hope my answer helps you solve the problem.</div><div><br></div><div>Best,</div><div>Hoffman</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-10-20 9:26 GMT+02:00 Noelia otero <span dir="ltr">&lt;<a href="mailto:noeli1680@gmail.com" target="_blank">noeli1680@gmail.com</a>&gt;</span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif">Hi Mary,<span></span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif">I sent a couple of
questions few days ago (from gmail) , and I was reading about some problems regarding
the mail list, so I thought that maybe my mail has not been received …(I can not see it in the mail list). That&#39;s why I also added your email addressee  (sorry for the inconvenience). <span></span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif">I just wanted to
re-send my question (see below), in case you can give me a suggestion. <span></span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif">Thanks in advance!<span></span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">I&#39;m doing a
composite and I&#39;m plotting significant areas (of anomalies). For that, I
computed the t-values manually, and then I was trying to add contour for those
significant values. However, I&#39;m a bit confused..since if I
used gsn_contour_shade for the values greater that the critical value (in
my case) it seems not to work well...so, I &#39;d like to ask if anyone have a
suggestion. This is part of my code:<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
 ;Average over the period <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  compos_mera = dim_avg(compos_era(lat|:,lon|:<wbr>,time|:)) ;reordering<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">     
compos_mera!0 = &quot;lat&quot;<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  compos_mera!1 = &quot;lon&quot;<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  compos_mera&amp;lat = lat<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  compos_mera&amp;lon = lon<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  ;std<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  composStd = dim_stddev_Wrap(compos_era(lat<wbr>|:, lon|:, time|:)) ; <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  composStd@_FillValue = -999<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  composVar = dim_variance_n (compos_era,0)<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  composVar@_FillValue = -999<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  n = dimsizes(timeE) ;number of observations<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  ;Compute t-student val for significant<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  Scom = composStd/(sqrt(n))<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  Scom@_FillValue=-999<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  mu = 0 ; set the value to see how anomalies are significantly different
from zero<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  tval = (compos_mera - mu)/where(Scom.ne.0, Scom, Scom@_FillValue) ;avoid
diving by zero<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">     abstval= abs(tval)      <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">    ;see table ttest 0.05 2-tailed<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  cv = 1.960 ;critival value according to the tables<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
;-------Starting plot------<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"> <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res                = True  
           ; plot mods desired<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@mpProjection   = &quot;LambertConformal&quot;; choose
projection<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@mpFillOn       = False        
    ; turn off map fill<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@cnFillOn       = True        
     ; turn on color<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@cnLinesOn      = False        
    ; turn off contour lines<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@lbLabelBarOn   = True<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@gsnDraw        = False<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@gsnFrame       = False<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@gsnAddCyclic = False             ;
regional plot<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@gsnMaximize  = True            
 ; enlarge plot<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@mpMinLatF    = 30          
     ; min lat to mask<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@mpMaxLatF    = 75          
     ; max lat to mask<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@mpMinLonF    = -20          
    ; min lon to mask<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@mpMaxLonF    = 40          
     ; max lon to mask<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@gsnMaskLambertConformal = True          
 ; turn on lc masking<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res@gsnMaskLambertConformalOut<wbr>lineOn  = False ; turns off outline<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"> 
  <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">  ;----Plot
2plot (significant values )----<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  ; generate shadow plot to overlay<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">     
res2 = True<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res2@gsnAddCyclic = False<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res2@gsnDraw = False<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res2@gsnFrame = False<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res2@cnInfoLabelOn = False <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res2@cnLinesOn      = False       ; do not
draw contour lines<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  res2@cnFillScaleF = 0.9<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  opt = True<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  opt@gsnShadeFillType = &quot;pattern&quot;<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  opt@gsnShadeHigh = 10<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  plot= gsn_csm_contour_map(wks, compo<wbr>s_mera,res)<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  plot2 = gsn_csm_contour(wks,abstval,re<wbr>s2)  <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  plot2= gsn_contour_shade(plot2,-999,c<wbr>v,opt)<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  overlay (plot, plot2)<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">I also tried to
computed the p-values and then make the plot, as follows:<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  dim_s = dimsizes(tval) ;lat x lon<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  df = new((/dim_s(0),dim_s(1)/),&quot;int<wbr>eger&quot;) <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  </span><span style="font-size:9.5pt;font-family:arial,sans-serif">df = n-1<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  beta_b = new((/dim_s(0),dim_s(1)/),&quot;flo<wbr>at&quot;)    ;
preallocate space for beta_b<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  beta_b = 0.5                
                     
             ; set entire beta_b array to
0.5, the      suggested value of beta_b <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  ; according to betainc documentation<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  prob = betainc( df/(df+tval^2), df/2.0, beta_b)<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  ; Now set up for significant at 0.05<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  opt = True<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  opt@gsnShadeFillType = &quot;pattern&quot;<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  opt@gsnShadeLow = 10<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  plot= gsn_csm_contour_map(wks,compos<wbr>_mera,res)<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  plot2 = gsn_csm_contour(wks,prob,res2)<wbr> <span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">   
  plot2= gsn_contour_shade(plot2,0.05,-<wbr>999,opt)<span></span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif"><span> </span></span></p>

<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:9.5pt;font-family:arial,sans-serif">Both ways should
be OK, am I wrong? What am I missing here, because looking at the values, there
are significant values, but I don&#39;t know why I can&#39;t see it.<span></span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif">Also, regarding my other
question, if I want to use bootstrap for showing significant anomalies…anyone
could give an idea about how to use it? I was wondering if there would be any example about that.<span></span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif">Thanks again!<span></span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif">Best<span class="m_-3038246486493563954HOEnZb"><font color="#888888"><span></span></font></span></span></p><span class="m_-3038246486493563954HOEnZb"><font color="#888888">

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif">Noelia.<span></span></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:tahoma,sans-serif"><span> </span></span></p></font></span></div>
<br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>