<div dir="ltr"><div><div><div>HI,<br><br></div>I';m not certain this is the only issue, but it looks like "<font color="#ff0000" face="georgia, serif">Explicitlevels<font color="#000000">" is a typo (you should be getting a warning message. Its case-sensitive and the correct string is Explicit<span style="color:rgb(255,0,0)">L</span>evels" I also believe it should be cnFillPattern</font>s <span style="color:rgb(0,0,0)">(plural).</span><br><br></font></div><font color="#ff0000" face="georgia, serif"><font color="#000000">Hopefully that helps...<br></font></font></div><font color="#ff0000" face="georgia, serif"><font color="#000000">Rick<br><br></font></font></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 18, 2018 at 2:15 AM, Dr. Muhammad Afzaal via ncl-talk <span dir="ltr"><<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</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 class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">Dear NCL community!</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">I am trying to plot significance stipples above trend plot. I took help from examples, and threads from NCL-talk. Trend is displayed correctly, but stipples(>=0.95) do not appear. I checked the values, those are inbetween 0 and 1. Following is my code for plotting. Am I missing some resource? Please give suggestions to correct it.</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">Thank you in anticipation</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"> </div><div class="gmail_default"><div class="gmail_default"><font color="#000000" face="georgia, serif">Please not p(0,:,:) is significance and p(1,:,:) is trend</font></div><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:georgia,serif">;=============================<wbr>==============================<wbr>====</span><br></div></div><div class="gmail_default"><font color="#000000" face="georgia, serif"><br></font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> wks = gsn_open_wks ("png","spi_shp_trnd") ; send graphics to PNG file</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> cmap = read_colormap_file("<wbr>BlueWhiteOrangeRed") ; read color data</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"><br></font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1 = True </font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@gsnDraw = False ; don't draw</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@gsnFrame = False ; don't advance frame</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@gsnAddCyclic = False ; This is very important for subset data</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@gsnMaximize = True</font></div><div class="gmail_default"><br></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> lat_min = 12</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> lat_max = 33</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> lon_min = 30</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> lon_max = 60</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"><br></font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@mpMinLatF = min(prc&lat)</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@mpMaxLatF = max(prc&lat)</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@mpMinLonF = min(prc&lon)</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@mpMaxLonF = max(prc&lon)</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@mpCenterLonF = (res1@mpMinLonF + res1@mpMaxLonF) / 2.</font></div><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:georgia,serif"> </span><br></div><div class="gmail_default"><font color="#000000" face="georgia, serif">;=============plot trend=========================<wbr>======</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@cnFillPalette = cmap(::-1,:) ; set and reverse color map </font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@cnLinesOn = False ; Turn off contour lines</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@cnMinLevelValF = -0.0025 ; set min contour level</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@cnMaxLevelValF = 0.0025 ; set max contour level</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@cnLevelSpacingF = 0.0005 ; set contour spacing</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> res1@cnLabelMasking = True ; Turn off countour label</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> </font><span style="color:rgb(0,0,0);font-family:georgia,serif"> </span></div><div class="gmail_default"><font color="#000000" face="georgia, serif"> plot1=gsn_csm_contour_map(wks,<wbr>p(1,:,:),res1)</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"><br></font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif">;==========plot significance==================<wbr>========</font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2 = True </font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@gsnDraw<span style="white-space:pre-wrap"> </span> = False</font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@gsnFrame = False</font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnFillOn<span style="white-space:pre-wrap"> </span> = True</font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnMonoFillColor<span style="white-space:pre-wrap"> </span> =True<span style="white-space:pre-wrap"> </span> </font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnLinesOn = False </font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnLineLabelsOn = False<span style="white-space:pre-wrap"> </span></font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnLevelSelectionMode = "Explicitlevels" </font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnLevels<span style="white-space:pre-wrap"> </span> =(/ 0.95 /)</font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnFillPattern<span style="white-space:pre-wrap"> </span> =(/-1,17/)</font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnInfoLabelOn = False<span style="white-space:pre-wrap"> </span> <span style="white-space:pre-wrap"> </span></font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnLabelMasking = False </font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@gsnAddCyclic = False </font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnFillScaleF<span style="white-space:pre-wrap"> </span>= 0.7<span style="white-space:pre-wrap"> </span> </font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> res2@cnFillDotSizeF = 0.005 </font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"><br></font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> plot2=gsn_csm_contour(wks,p(0,<wbr>:,:),res2)</font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"><br></font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> overlay(plot1,plot2)</font></div><div class="gmail_default"><font color="#ff0000"><br></font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> draw(plot1)</font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"> frame(wks)</font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif"><br></font></div><div class="gmail_default"><font color="#ff0000" face="georgia, serif">end </font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"><br></font></div><div class="gmail_default"><font color="#000000" face="georgia, serif">;===================</font></div><div class="gmail_default"><font color="#000000" face="georgia, serif"><br></font></div><div class="gmail_default"><font color="#000000" face="georgia, serif">Regards</font></div><span class="HOEnZb"><font color="#888888"><div class="gmail_default"><font color="#000000" face="georgia, serif">Dr Afzaal</font></div><div><div class="m_-4872389449005861649gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div></div></div></div></div>
</font></span></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></div>