<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">Hi Rick,<br><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">It works. Thank you for your suggestions.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">Best regards <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 May 2016 at 20:38, Rick Brownrigg <span dir="ltr">&lt;<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>&gt;</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><div><div><div><div>Hi,<br><br></div>wrf_map_overlays has some resources specific to it, one of which controls &quot;framing&quot; similar to gsnFrame.  You might set:<br><br></div>   pltres@FramePlot = False    ; default is True<br><br></div>For more details, see:<br><br><a href="http://ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map_overlays.shtml" target="_blank">http://ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map_overlays.shtml</a><br><br></div>Note that it says &quot;...the plot will be drawn, but the frame will not advanced.&quot;  <font size="2">I&#39;m totally sure my suggestion will work -- it seems like the calls to </font><br><font size="2">gsn_add_shapefile_polylines() should be made before the plot is drawn.  But perhaps give it a try.<br><br></font></div><font size="2">Hope that helps...<br></font></div><font size="2">Rick<br></font></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, May 26, 2016 at 11:06 AM, Amadou Coulibaly <span dir="ltr">&lt;<a href="mailto:mpapin24@gmail.com" target="_blank">mpapin24@gmail.com</a>&gt;</span> wrote:<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"><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">Dear NCL users,<br><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">I
 want to attach shapefile polylines to my wrf_contour plot, but I am 
facing an issue. After downloading the country data from Global 
Administrative Area, I wrote the command lines below:<br><font size="2">;---Start the graphics<br>       wks = gsn_open_wks(&quot;eps&quot;,&quot;wrf_latlonoverlay_16_ERA&quot;)<br><br>;---Set some basic plot options<br>      opts                     = True<br>      opts@MainTitle                    = &quot;REAL-TIME WRF&quot;<br>      opts@gsnDraw                       = False<br>        opts@gsnFrame                      = False<br>      ;opts@gsnAddCyclic             = False<br><br>      pltres                 = True<br>      mpres                  = True<br>      mpres@mpGeophysicalLineColor      = &quot;Black&quot;<br>      mpres@mpNationalLineColor         = &quot;Black&quot;<br>      mpres@mpUSStateLineColor          = &quot;Black&quot;<br>      mpres@mpGridLineColor             = &quot;Black&quot;<br>      mpres@mpLimbLineColor             = &quot;Black&quot;<br>      mpres@mpPerimLineColor            = &quot;Black&quot;<br>      mpres@mpGeophysicalLineThicknessF = 2.0<br>      mpres@mpGridLineThicknessF        = 2.0<br>      mpres@mpLimbLineThicknessF        = 2.0<br>      mpres@mpNationalLineThicknessF    = 2.0<br>      mpres@mpUSStateLineThicknessF     = 2.0<br>     <br>      opts@TimeLabel = times   ; Set valid time to use on plots<br><br>      pressure = pressure_levels(0)<br><br>      ; Add some level info to the plot<br>          opts@PlotLevelID = pressure + &quot; hPa&quot;<br>;----------------------------------------------------------------------<br>; Plot full domain first.<br>;----------------------------------------------------------------------<br>      opts@cnFillOn = True  <br>    <br>      contour = wrf_contour(f,wks,Rot_avg(0,:,:),opts)<br><br>  x = (/3., 4., 5., 6., 7./)<br>  y = (/3., 4., 5., 6., 7./)<br>  <br><br>;-- polymarker resources<br>  pmres                        =  True<br>  pmres@gsMarkerColor          = &quot;red&quot;       ;-- marker color<br>  pmres@gsMarkerSizeF          =  0.03        ;-- set size of marker<br>  pmres@gsLineThicknessF       =  13.          ;-- marker line thickness<br><br>;-- draw all 16 markers on map using unique identifier name<br>;-- and additional map attribute settings<br>  x = 3.                                 ;-- x-position of first marker<br>  y = 3.                                 ;-- y-position of first marker<br>  do i = 5,7,2                                     ;-- 16 different marker<br>     pmres@gsMarkerIndex = i+1<br>     str = unique_string(&quot;poly&quot;)            ;-- result is poly0-poly15<br>     contour@$str$ = gsn_add_polymarker(wks, contour, x+(i*11.3), y+(i*8.5), pmres)<br><br><br>                                            ;-- add marker to map<br>  end do<br><br>      plot = wrf_map_overlays(f,wks,(/contour/),pltres,mpres)<br><br>;---Attach shapefile polylines to map <br>  dir1       = &quot;CIV_adm/&quot;<br>  dir2       = &quot;GHA_adm/&quot;<br>  dir3       = &quot;TGO_adm/&quot;<br>  dir4       = &quot;BEN_adm/&quot;<br>  dir5       = &quot;NGA_adm/&quot;<br>  <br>  filename1  = &quot;CIV_adm0.shp&quot;<br>  filename2  = &quot;GHA_adm0.shp&quot;<br>  filename3  = &quot;TGO_adm0.shp&quot;<br>  filename4  = &quot;BEN_adm0.shp&quot;<br>  filename5  = &quot;NGA_adm0.shp&quot;<br>  <br><br>  lnres                  = True<br>  lnres@gsLineThicknessF = 1.0<br><br>  poly1 = gsn_add_shapefile_polylines(wks,plot,dir1+filename1,lnres)<br>  poly2 = gsn_add_shapefile_polylines(wks,plot,dir2+filename2,lnres)<br>  poly3 = gsn_add_shapefile_polylines(wks,plot,dir3+filename3,lnres)<br>  poly4 = gsn_add_shapefile_polylines(wks,plot,dir4+filename4,lnres)<br>  poly5 = gsn_add_shapefile_polylines(wks,plot,dir5+filename5,lnres)<br>  <br>  draw(plot)<br>  frame(wks)<br>end<br><br></font></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><font size="2">But
 instead of overlaying country map with contour, I am getting two 
separate plots one with contour and another one with country maps, as 
showing attached plot. <br><br></font></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><font size="2">What,s wrong with my script? And how to put vertically the labelbar?<br><br></font></div><font size="2">Best regards</font></div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><b style="font-size:small;font-family:tahoma,sans-serif"><font color="#000066"> </font><font color="#000066">COULIBALY   </font><font color="#000066">AMADOU   </font></b><br><span style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:small">PhD  Student  on  West  African  Climate  System (WACS)</span><br><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">FUTA</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066"> - </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">F</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066">ederal  </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">U</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066">niversity  of  </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">T</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066">echnology of </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">A</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066">kure, <span style="color:rgb(0,0,255)">N</span>igeria</font><div><font color="#000066" face="tahoma, sans-serif" size="2"><br></font><div><span style="color:rgb(76,17,48)"><span style="font-family:arial,helvetica,sans-serif"><i style="font-weight:bold">Visiting Student - </i></span><i style="font-weight:bold"><span style="font-family:arial,helvetica,sans-serif"><i><font size="1"><span style="font-size:13px">University of Cologne, Germany</span></font></i></span><br></i><i><span style="font-family:arial,helvetica,sans-serif">Institute of Geophysics and Meteorology</span></i><span style="font-family:arial,helvetica,sans-serif"><br></span></span><div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px"><span style="color:rgb(76,17,48)"><span style="font-family:arial,helvetica,sans-serif"><font size="1">Pohligstr. 3 / Office 3.102</font></span></span></div><div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px"><span style="color:rgb(76,17,48)"><span style="font-family:arial,helvetica,sans-serif"><font size="1">D-50969 Köln</font></span></span></div></div></div><div style="color:rgb(80,0,80)"><i style="color:rgb(34,34,34);font-family:&quot;bookman old style&quot;,&quot;new york&quot;,times,serif"><font size="1"><span style="color:rgb(0,0,127)"><span style="font-size:13px"><br></span></span></font></i></div><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)"><u>Project</u>: </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">WASCAL</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)"> (</span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">W</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">est </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">A</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">frican </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">S</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">cience </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">S</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">ervice </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">C</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">entre on </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">C</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">limate </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">C</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">hange and </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">A</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">dapted </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">L</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">and <span style="color:rgb(0,0,255)">U</span>se) </span><br><font style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)" color="#000066">Phone:<a href="tel:%28%2B234%29%20812%20965%203659" value="+2348129653659" target="_blank">(+234) 812 965 3659</a> </font><font style="font-family:tahoma,sans-serif;font-size:small" color="#ff0000">/</font><font style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)" color="#000066"><a href="tel:%28%2B223%29%2090%2008%2026%2071" value="+22390082671" target="_blank">(+223) 90 08 26 71</a> </font><font style="font-family:tahoma,sans-serif;font-size:small" color="#ff0000">/</font><font style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)" color="#000066"><a href="tel:%28%2B226%29%2064%2057%2037%2027" value="+22664573727" target="_blank">(+226) 64 57 37 27</a> </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066"><span style="color:rgb(34,34,34)"></span><font color="#ff0000">/</font></font><font style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)" color="#000066"><a href="tel:%2B49%2015218352574" value="+4915218352574" target="_blank">+49 15218352574</a><br></font><div><p><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066"></font></p><div style="text-align:left"><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066"><font color="#000066">E-mail: </font><a href="mailto:mpapin24@gmail.com" style="color:rgb(0,0,255)" target="_blank">mpapin24@gmail.com</a><span style="color:rgb(34,34,34)"> </span><font color="#ff0000">/ </font><span style="color:rgb(0,0,255)"><a href="mailto:coulibalya68@yahoo.com" target="_blank">coulibalya68@yahoo.com</a> </span></font></div><p></p></div><div><font face="verdana,sans-serif" size="2"><p><font color="#ff9900">&quot;<i>The time is always right to do right&quot;: <b>Nelson Mandela</b></i></font></p><p><i><font color="#ff9900">&quot;Character is like a tree and reputation like a shadow.  The shadow is what we think of it; the tree is the real thing&quot; : <b>Abraham Lincoln</b></font></i></p><p><i><font color="#ff9900">&quot;Do what you can, with what you have, where you are&quot; <b>Theodore Roosevelt</b></font></i></p></font><p><b><font color="#000066" size="2"><i> </i></font></b></p><p><b><font color="#000066" size="4"> </font></b></p><div> </div></div></div></div></div></div>
</div>
<br></div></div>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b style="font-size:small;font-family:tahoma,sans-serif"><font color="#000066"> </font><font color="#000066">COULIBALY   </font><font color="#000066">AMADOU   </font></b><br><span style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:small">PhD  Student  on  West  African  Climate  System (WACS)</span><br><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">FUTA</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066"> - </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">F</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066">ederal  </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">U</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066">niversity  of  </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">T</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066">echnology of </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">A</font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066">kure, <span style="color:rgb(0,0,255)">N</span>igeria</font><div><font size="2" color="#000066" face="tahoma, sans-serif"><br></font><div><span style="color:rgb(76,17,48)"><span style="font-family:arial,helvetica,sans-serif"><i style="font-weight:bold">Visiting Student - </i></span><i style="font-weight:bold"><span style="font-family:arial,helvetica,sans-serif"><i><font size="1"><span style="font-size:13px">University of Cologne, Germany</span></font></i></span><br></i><i><span style="font-family:arial,helvetica,sans-serif">Institute of Geophysics and Meteorology</span></i><span style="font-family:arial,helvetica,sans-serif"><br></span></span><div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px"><span style="color:rgb(76,17,48)"><span style="font-family:arial,helvetica,sans-serif"><font size="1">Pohligstr. 3 / Office 3.102</font></span></span></div><div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px"><span style="color:rgb(76,17,48)"><span style="font-family:arial,helvetica,sans-serif"><font size="1">D-50969 Köln</font></span></span></div></div></div><div style="color:rgb(80,0,80)"><i style="color:rgb(34,34,34);font-family:&#39;bookman old style&#39;,&#39;new york&#39;,times,serif"><font size="1"><span style="color:rgb(0,0,127)"><span style="font-size:13px"><br></span></span></font></i></div><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)"><u>Project</u>: </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">WASCAL</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)"> (</span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">W</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">est </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">A</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">frican </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">S</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">cience </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">S</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">ervice </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">C</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">entre on </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">C</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">limate </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">C</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">hange and </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">A</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">dapted </span><font style="font-size:small;font-family:tahoma,sans-serif" color="#0000ff">L</font><span style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">and <span style="color:rgb(0,0,255)">U</span>se) </span><br><font style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)" color="#000066">Phone:(+234) 812 965 3659 </font><font style="font-family:tahoma,sans-serif;font-size:small" color="#ff0000">/</font><font style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)" color="#000066">(+223) 90 08 26 71 </font><font style="font-family:tahoma,sans-serif;font-size:small" color="#ff0000">/</font><font style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)" color="#000066">(+226) 64 57 37 27 </font><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066"><span style="color:rgb(34,34,34)"></span><font color="#ff0000">/</font></font><font style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)" color="#000066">+49 15218352574<br></font><div><p><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066"></font></p><div style="text-align:left"><font style="font-size:small;font-family:tahoma,sans-serif" color="#000066"><font color="#000066">E-mail: </font><a href="mailto:mpapin24@gmail.com" style="color:rgb(0,0,255)" target="_blank">mpapin24@gmail.com</a><span style="color:rgb(34,34,34)"> </span><font color="#ff0000">/ </font><span style="color:rgb(0,0,255)"><a href="mailto:coulibalya68@yahoo.com" target="_blank">coulibalya68@yahoo.com</a> </span></font></div><p></p></div><div><font size="2" face="verdana,sans-serif"><p><font color="#ff9900">&quot;<i>The time is always right to do right&quot;: <b>Nelson Mandela</b></i></font></p><p><i><font color="#ff9900">&quot;Character is like a tree and reputation like a shadow.  The shadow is what we think of it; the tree is the real thing&quot; : <b>Abraham Lincoln</b></font></i></p><p><i><font color="#ff9900">&quot;Do what you can, with what you have, where you are&quot; <b>Theodore Roosevelt</b></font></i></p></font><p><b><font size="2" color="#000066"><i> </i></font></b></p><p><b><font size="4" color="#000066"> </font></b></p><div> </div></div></div></div></div></div>
</div>