<div dir="ltr">Hi Kunal,<div>There are numerous examples of overlaying two contour fields on one another on the overlay and contour on contour Examples pages here:</div><div><a href="http://www.ncl.ucar.edu/Applications/overlay.shtml">http://www.ncl.ucar.edu/Applications/overlay.shtml</a><br></div><div><a href="http://www.ncl.ucar.edu/Applications/conOncon.shtml">http://www.ncl.ucar.edu/Applications/conOncon.shtml</a><br></div><div><br></div><div>Example 11 on the contour effects page shows how to do stippling if you'd prefer to use that for your overlay:</div><div><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex11">http://www.ncl.ucar.edu/Applications/coneff.shtml#ex11</a><br></div><div><br></div><div>Hope that helps. If not, please direct any further inquiries to the ncl-talk email list.</div><div>Adam </div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 2, 2017 at 12:36 PM, Kunal Bali <span dir="ltr"><<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Dear NCL user,<br><br></div>I have plotted the lag correlation between 2 variables. I also want to highlight those parts which are significance at 95 % with black lines, over the attached plot (or as an overlay plot). So it can easily be vizulise that which part of the given region is more significant with black lines or dot points.<br></div><div><br>please provide some suggestion on that.<br></div><div><br></div>I have data of one month with 31 days for each variables. The scipt I used is given below <br><div><br> <img src="cid:ii_j27vukc10_15bca65d8f87f421" style="margin-right:0px" width="227" height="227"><br><br><br>;*****************************<wbr>******************<br> in1 = addfile("/home/kunal/<a href="http://anomaly_du.nc" target="_blank">anomaly_<wbr>du.nc</a>","r")<br> in2 = addfile("/home/kunal/<a href="http://anomaly_ch.nc" target="_blank">anomaly_<wbr>ch.nc</a>","r")<br> <br> <br> tmp2 = in1->DUDP001<br> tmp1 = in2->ch<br>;*****************************<wbr>*******************<br>; reorder to get time as right most dimension<br>;*****************************<wbr>******************<br> ts1 = tmp1(lat|:,lon|:,time|:)<br> ts2 = tmp2(lat|:,lon|:,time|:)<br>;*****************************<wbr>*******************<br>; calculate cross correlations<br>;*****************************<wbr>*******************<br> maxlag = 4 <wbr> ; set lag<br>; note, the max lag should not be more than N/4<br> <br> ccr = esccr(ts2,ts1,maxlag) <wbr> ; calc cross correlations<br><br>; copy meta data and coordinate variables using contributed functions<br> copy_VarAtts(ts1, ccr) <br> copy_VarCoords_1(ts2,ccr)<br>;*****************************<wbr>*******************<br>; plot the correlations<br>;*****************************<wbr>*******************<br>;*****************************<wbr>*******************<br> ;---Open workstation and change color map<br> wks_type = "png" <br> wks = gsn_open_wks(wks_type, "du-ch")<br>;*****************************<wbr>*******************<br><br> res@mpMinLonF = 59.5<br> res@mpMaxLonF = 69.8<br> res@mpMinLatF = 16.5<br> res@mpMaxLatF = 25.0<br> <br> plot = gsn_csm_contour_map(wks,ccr(:,<wbr>:,lag),res) <br><br></div><div>Thank You. <br></div><div><div><br clear="all"><div><div><div class="m_-1467447476012608577gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Kunal<br></div><div><p style="margin:0px;border-collapse:collapse;font-family:tahoma,verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></font></span></div></div></div></div></div>
</div></div></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>