<div dir="ltr"><div class="gmail_default" style="font-size:small">I&#39;m not sure what you are trying to do.  You have a call that overlays contours on a map, and then it looks like you are trying to add markers to just the contour plot?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, you call gsn_polymarker and draw the markers on the &quot;contour&quot; plot, but then you call &quot;draw(plot)&quot; which is just going to draw the map plot created by wrf_map_overlays (with no contours, because wrf_map_overlays removes the contour plot after it is done).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think what you are trying to do is draw markers on the contour/map plot?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If so, you first need to tell wrf_map_overlays not to remove the contours or advance the frame, which can be done by setting this resource before you call it:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">pltres@PanelPlot = True</font></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This &quot;fools&quot; wrf_map_overlays into thinking you are going to panel a bunch of its plots later, and so it leaves them intact.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">After you call wrf_map_overlays, add these lines:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">







<p class=""><font face="monospace, monospace">pmres = True<br><span class="">pmres@</span>gsMarkerColor<span class=""> = </span><span class="">&quot;Black&quot;<br></span>pmres@<span class="">gsMarkerIndex</span> = 16<br>pmres@<span class="">gsMarkerSizeF</span> = 0.01</font></p>
<p class=""><font face="monospace, monospace"><span class="">id = gsn_add_polymarker</span>(wks,plot,2.53115,36.8569,pmres)<br><span class="">draw</span>(plot)<br> <span class="">frame</span>(wks)</font></p>
<p class="">Note that I&#39;m using gsn_add_polymarker instead of gsn_polymarker.  The &quot;add&quot; version of this routine actually attaches the markers to the plot, so that when you draw the plot, the markers will automatically get drawn. </p><p class="">You may need to increase the marker size a bit.</p><p class="">--Mary</p></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 23, 2015 at 8:23 AM, Muhammad Omer Mughal <span dir="ltr">&lt;<a href="mailto:m.mughal1@postgrad.curtin.edu.au" target="_blank">m.mughal1@postgrad.curtin.edu.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div dir="ltr">

<div dir="ltr" style="outline:none medium;font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;display:block;background-color:rgb(255,255,255)">
<p>Hi <br>
</p>
<p><br>
</p>
<p>Kindly see the attached script .I am trying to get the polymarker on the location specified in the file .I also want the terrain and map background in the plot.Can any one suggest a solution ?<br>
</p>
<p><br>
</p>
<div>
<div style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;background-color:rgb(255,255,255)">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px"><b><br>
</b></div>

<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" color="#1F497D"><span style="font-size:11pt">Muhammad Omer Mughal</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" color="#1F497D"><span style="font-size:11pt">MSc BSc Mechanical Engineering</span></font><font face="Arial,sans-serif" size="1" color="#1F497D"><span style="font-size:8pt"><br>
</span></font><font face="Arial Bold" color="#AB8303"><span style="font-size:9pt">PhD  Research Scholar</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" color="#AB8303"><span style="font-size:9pt">Remote Sensing and Satellite Research Group</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" color="#AB8303"><span style="font-size:9pt">Department of Imaging and Applied Physics</span></font><font face="Arial Bold" color="#AB8303"><span style="font-size:9pt"><br>
Curtin University</span></font><font face="Arial Bold" color="#AB8303"><span style="font-size:9pt"><br>
</span></font><font face="Calibri,sans-serif" color="#1F497D"><span style="font-size:11pt"><br>
</span></font><font face="Arial Bold" color="#1F497D"><span style="font-size:9pt">Curtin University</span></font><font face="Arial Bold" color="#1F497D"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" color="#AB8303"><span style="font-size:9pt">Tel |</span></font><font face="Arial Bold" color="#1F497D"><span style="font-size:9pt"> </span></font><font face="Arial,sans-serif" color="#1F497D"><span style="font-size:9pt">+61
 8 9266 7962</span></font><font face="Calibri,sans-serif" color="#1F497D"><span style="font-size:9pt"> </span></font><font face="Calibri,sans-serif" size="1" color="#1F497D"><span style="font-size:7pt"><br>
</span></font><font face="Arial Bold" color="#AB8303"><span style="font-size:9pt">Fax |</span></font><font face="Arial Bold" color="#1F497D"><span style="font-size:9pt"> </span></font><font face="Arial,sans-serif" color="#1F497D"><span style="font-size:9pt">+61
 8 9266 2377</span></font><font face="Arial,sans-serif" color="#1F497D"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" color="#AB8303"><span style="font-size:9pt">Mobile |</span></font><font face="Calibri,sans-serif" color="#1F497D"><span style="font-size:9pt"> </span></font><font face="Arial,sans-serif" color="#1F497D"><span style="font-size:9pt">0470 237 525</span></font></span></font></div>
</div>
</div>
</div>
</div>
</div>

<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div></div>