<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear NCL-talk,<div class=""><br class=""></div><div class="">Attached is the low-resolution panel plot showing MSLP trend for reanalysis and 41 individual CMIP5 models as well as the ensemble mean of 41 models (last member of the panel plot). I am able to draw each plot and then hatch grid points having significant trends for reanalysis and 41 individual models with these commands:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">nplots&nbsp;</span></font><span class="" style="font-size: x-small;">=</span><span class="" style="font-size: x-small;">&nbsp;43</span></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">addmark =&nbsp;</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(205, 121, 35);">new</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(nplots,</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(205, 121, 35);">graphic</span><span class="" style="font-variant-ligatures: no-common-ligatures;">)</span></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(205, 121, 35);">do</span><span class="" style="font-variant-ligatures: no-common-ligatures;">&nbsp;i=</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">0</span><span class="" style="font-variant-ligatures: no-common-ligatures;">,nplots-</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">1</span></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font size="1" class="">plots(i) = gsn_csm_contour_map(wks,slope2d(case|i,latitude|:,longitude|:),res) ;case is the number of processed data&nbsp;</font></span></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font size="1" class="">txres &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = True</font></span></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">txres@txFontHeightF =&nbsp;</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">0.06</span></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">dum = gsn_add_text(wks,plots(i),allnames(i),-</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">90</span><span class="" style="font-variant-ligatures: no-common-ligatures;">,-</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">90</span><span class="" style="font-variant-ligatures: no-common-ligatures;">,txres)&nbsp;</span></font><span class="" style="font-size: x-small;">;add text label for each plot</span></div><div class="" style="margin: 0px; line-height: normal; color: rgb(205, 121, 35); background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">end</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);">&nbsp;</span><span class="" style="font-variant-ligatures: no-common-ligatures;">do</span></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;"><br class=""></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(205, 121, 35);">do</span><span class="" style="font-variant-ligatures: no-common-ligatures;">&nbsp;i =&nbsp;</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">0</span><span class="" style="font-variant-ligatures: no-common-ligatures;">,nplots-</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">2</span></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font size="1" class="">mkres = True</font></span></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">mkres@gsMarkerIndex =&nbsp;</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">2</span></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">mkres@gsMarkerSizeF =&nbsp;</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">0.0006</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(82, 48, 225);">;0.0035</span></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">mkres@gsMarkerThicknessF =&nbsp;</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">0.007</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(82, 48, 225);">;0.025</span></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">mkres@gsMarkerColor =&nbsp;</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">"grey20"</span></font></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font size="1" class="">z_signif_1d = ndtooned(z_signif_mask(i,:,:))</font></span></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font size="1" class="">ind_zsig = ind(z_signif_1d.ge.prob_t)</font></span></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font size="1" class="">print (dimsizes(ind_zsig))</font></span></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font size="1" class="">addmark(i) = gsn_add_polymarker(wks,plots(i),glon(ind_zsig),glat(ind_zsig),mkres)</font></span></div><div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font size="1" class="">delete(ind_zsig)</font></span></div><div class="" style="margin: 0px; line-height: normal; color: rgb(205, 121, 35); background-color: rgb(255, 255, 255);"><font size="1" class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">end</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);">&nbsp;</span><span class="" style="font-variant-ligatures: no-common-ligatures;">do</span></font></div></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><br class=""></div><div class="">My question is that how can I hatch the grids where e.g. 50% of the individual models have significant trends in the ensemble mean plot? As I delete “<span class="" style="background-color: rgb(255, 255, 255);"><font size="1" class="">ind_zsig”&nbsp;</font></span>variable (indice of significance test) end of each model process, I am stuck to create a loop for an array counting the number of models with significant trends in each grid.&nbsp;</div><div class=""><br class=""></div><div class="">I hope I made a clear explanation.</div><div class=""><br class=""></div><div class="">Thanks in advance,</div><div class="">Deniz</div><div class=""><br class=""></div><div class=""><span class="" style="color: rgb(132, 132, 132); font-size: 11px; border-collapse: separate;"><div class="" style="word-wrap: break-word;"><span class="" style="border-collapse: separate;"><div class="" style="word-wrap: break-word;"><span class="" style="border-collapse: separate;"><div class="" style="word-wrap: break-word;"><span class="" style="border-collapse: separate;"><div class="" style="word-wrap: break-word;"><div class="" style="word-wrap: break-word;"><span class="" style="border-collapse: collapse; font-family: Arial;">--</span><div class="" style="border-collapse: separate;"><font face="Arial" class=""><div class="" style="word-wrap: break-word;"><div class="" style="border-collapse: separate; word-wrap: break-word;"><span class="" style="border-collapse: separate;"><div class="" style="word-wrap: break-word;"><div class="" style="word-wrap: break-word;"><div class="" style="word-wrap: break-word;"><div class="" style="border-collapse: separate;"><span class="" style="border-collapse: collapse;">Deniz Bozkurt, PhD<br class=""></span></div><div class="" style="border-collapse: separate;"><span class="" style="border-collapse: collapse;">Post-doctoral Researcher</span></div></div></div></div></span></div></div><span class="" style="border-collapse: collapse;">Center&nbsp;for&nbsp;Climate&nbsp;and Resilience Research</span></font></div></div><span class="" style="border-collapse: collapse; font-family: Arial;">Department of Geophysics</span>, University of Chile<span class="" style="border-collapse: collapse; font-family: Arial;"></span><div class=""><span class="" style="border-collapse: collapse; font-family: Arial;"></span><div class="" style="word-wrap: break-word;"><div class="" style="border-collapse: separate;"><span class="" style="border-collapse: collapse;"><font face="Arial" class="">Blanco Encalada 2002, Santiago, Chile</font></span></div><div class="" style="border-collapse: separate;"><font face="Arial" class=""><span class="" style="border-collapse: collapse;">E-mail:&nbsp;<a href="mailto:dbozkurt@dgf.uchile.cl" target="_blank" class="">dbozkurt@dgf.uchile.cl</a>,&nbsp;<a href="mailto:deniboz@gmail.com" target="_blank" class="">deniboz@gmail.com</a></span></font></div></div></div></div></span></div></span></div></span></div></span><span class="" style="color: rgb(132, 132, 132); font-size: 11px;">Web:&nbsp;</span><span style="font-size: 11px;" class=""><a href="http://dgf.uchile.cl/~dbozkurt/" class="">http://dgf.uchile.cl/~dbozkurt/</a></span></div><div class=""><br class=""></div><div class=""><img height="1100" width="850" apple-width="yes" apple-height="yes" apple-inline="yes" id="AD0C32B8-6CD7-495C-8840-4883CDF7C124" src="cid:C31CCA8D-E8C7-4F79-B5BA-B3DA4CD06BCE" class=""></div><div class=""><br class=""></div></body></html>