<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">Dear Rick</div><div class="gmail_extra"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0);display:inline"><br></div></div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"></div></div></div>
<div class="gmail_default" style="font-size:small;display:inline">Thank you very much for your kind response. The main problem was that I was missing</div></div><div class="gmail_extra"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0);display:inline"><br></div></div><div class="gmail_extra"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0);display:inline"></div><font color="#000000" face="georgia, serif">res2@cnMonoFillPattern= False<span style="white-space:pre"> </span></font></div><div class="gmail_extra"><font color="#000000" face="georgia, serif"><br></font></div><div class="gmail_extra"><font color="#000000" face="georgia, serif"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0);display:inline">after adding this, the plot is ok.</div></font></div><div class="gmail_extra"><font color="#000000" face="georgia, serif"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0);display:inline"><br></div></font></div><div class="gmail_extra"><font color="#000000" face="georgia, serif"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0);display:inline">Thanks again</div></font></div><div class="gmail_extra"><font color="#000000" face="georgia, serif"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0);display:inline"></div><br></font><div class="gmail_quote">On Thu, Jan 18, 2018 at 8:09 PM, Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>></span> wrote:<br><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"><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"><div><div class="gmail-h5">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></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5"><div dir="ltr"><div style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">Dear NCL community!</div><div style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><br></div><div 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 style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">Thank you in anticipation</div><div style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"> </div><div><div><font color="#000000" face="georgia, serif">Please not p(0,:,:) is significance and p(1,:,:) is trend</font></div><div><span style="color:rgb(0,0,0);font-family:georgia,serif">;=============================<wbr>==============================<wbr>====</span><br></div></div><div><font color="#000000" face="georgia, serif"><br></font></div><div><font color="#000000" face="georgia, serif"> wks = gsn_open_wks ("png","spi_shp_trnd") ; send graphics to PNG file</font></div><div><font color="#000000" face="georgia, serif"> cmap = read_colormap_file("BlueWhiteO<wbr>rangeRed") ; read color data</font></div><div><font color="#000000" face="georgia, serif"><br></font></div><div><font color="#000000" face="georgia, serif"> res1 = True </font></div><div><font color="#000000" face="georgia, serif"> res1@gsnDraw = False ; don't draw</font></div><div><font color="#000000" face="georgia, serif"> res1@gsnFrame = False ; don't advance frame</font></div><div><font color="#000000" face="georgia, serif"> res1@gsnAddCyclic = False ; This is very important for subset data</font></div><div><font color="#000000" face="georgia, serif"> res1@gsnMaximize = True</font></div><div><br></div><div><font color="#000000" face="georgia, serif"> lat_min = 12</font></div><div><font color="#000000" face="georgia, serif"> lat_max = 33</font></div><div><font color="#000000" face="georgia, serif"> lon_min = 30</font></div><div><font color="#000000" face="georgia, serif"> lon_max = 60</font></div><div><font color="#000000" face="georgia, serif"><br></font></div><div><font color="#000000" face="georgia, serif"> res1@mpMinLatF = min(prc&lat)</font></div><div><font color="#000000" face="georgia, serif"> res1@mpMaxLatF = max(prc&lat)</font></div><div><font color="#000000" face="georgia, serif"> res1@mpMinLonF = min(prc&lon)</font></div><div><font color="#000000" face="georgia, serif"> res1@mpMaxLonF = max(prc&lon)</font></div><div><font color="#000000" face="georgia, serif"> res1@mpCenterLonF = (res1@mpMinLonF + res1@mpMaxLonF) / 2.</font></div><div><span style="color:rgb(0,0,0);font-family:georgia,serif"> </span><br></div><div><font color="#000000" face="georgia, serif">;=============plot trend=========================<wbr>======</font></div><div><font color="#000000" face="georgia, serif"> res1@cnFillPalette = cmap(::-1,:) ; set and reverse color map </font></div><div><font color="#000000" face="georgia, serif"> res1@cnLinesOn = False ; Turn off contour lines</font></div><div><font color="#000000" face="georgia, serif"> res1@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels</font></div><div><font color="#000000" face="georgia, serif"> res1@cnMinLevelValF = -0.0025 ; set min contour level</font></div><div><font color="#000000" face="georgia, serif"> res1@cnMaxLevelValF = 0.0025 ; set max contour level</font></div><div><font color="#000000" face="georgia, serif"> res1@cnLevelSpacingF = 0.0005 ; set contour spacing</font></div><div><font color="#000000" face="georgia, serif"> res1@cnLabelMasking = True ; Turn off countour label</font></div><div><font color="#000000" face="georgia, serif"> </font><span style="color:rgb(0,0,0);font-family:georgia,serif"> </span></div><div><font color="#000000" face="georgia, serif"> plot1=gsn_csm_contour_map(wks,<wbr>p(1,:,:),res1)</font></div><div><font color="#000000" face="georgia, serif"><br></font></div><div><font color="#ff0000" face="georgia, serif">;==========plot significance==================<wbr>========</font></div><div><font color="#ff0000" face="georgia, serif"> res2 = True </font></div><div><font color="#ff0000" face="georgia, serif"> res2@gsnDraw<span style="white-space:pre-wrap"> </span> = False</font></div><div><font color="#ff0000" face="georgia, serif"> res2@gsnFrame = False</font></div><div><font color="#ff0000" face="georgia, serif"> res2@cnFillOn<span style="white-space:pre-wrap"> </span> = True</font></div><div><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><font color="#ff0000" face="georgia, serif"> res2@cnLinesOn = False </font></div><div><font color="#ff0000" face="georgia, serif"> res2@cnLineLabelsOn = False<span style="white-space:pre-wrap"> </span></font></div><div><font color="#ff0000" face="georgia, serif"> res2@cnLevelSelectionMode = "Explicitlevels" </font></div><div><font color="#ff0000" face="georgia, serif"> res2@cnLevels<span style="white-space:pre-wrap"> </span> =(/ 0.95 /)</font></div><div><font color="#ff0000" face="georgia, serif"> res2@cnFillPattern<span style="white-space:pre-wrap"> </span> =(/-1,17/)</font></div><div><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><font color="#ff0000" face="georgia, serif"> res2@cnLabelMasking = False </font></div><div><font color="#ff0000" face="georgia, serif"> res2@gsnAddCyclic = False </font></div><div><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><font color="#ff0000" face="georgia, serif"> res2@cnFillDotSizeF = 0.005 </font></div><div><font color="#ff0000" face="georgia, serif"><br></font></div><div><font color="#ff0000" face="georgia, serif"> plot2=gsn_csm_contour(wks,p(0,<wbr>:,:),res2)</font></div><div><font color="#ff0000" face="georgia, serif"><br></font></div><div><font color="#ff0000" face="georgia, serif"> overlay(plot1,plot2)</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000" face="georgia, serif"> draw(plot1)</font></div><div><font color="#ff0000" face="georgia, serif"> frame(wks)</font></div><div><font color="#ff0000" face="georgia, serif"><br></font></div><div><font color="#ff0000" face="georgia, serif">end </font></div><div><font color="#000000" face="georgia, serif"><br></font></div><div><font color="#000000" face="georgia, serif">;===================</font></div><div><font color="#000000" face="georgia, serif"><br></font></div><div><font color="#000000" face="georgia, serif">Regards</font></div><span class="gmail-m_-7180988648853064461HOEnZb"><font color="#888888"><div><font color="#000000" face="georgia, serif">Dr Afzaal</font></div><div><div class="gmail-m_-7180988648853064461m_-4872389449005861649gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div></div></div></div></div>
</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></div>