<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Thanks Adam! "res@mpOutlineDrawOrder" was the resource I was missing. For the record, it needed to be set to "Draw", rather than "PostDraw".</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks again!</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p><span style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Nick Bassill, PhD</span></p>
<p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
Modeler & Meteorologist, Center Of Excellence (Prior: NYS Mesonet)</p>
<p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
LC SB-28, 1400 Washington Ave.,</p>
<p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
SUNY, University at Albany, NY 12222</p>
(518) 442-6375</div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
NYSM Products: <a href="http://operations.nysmesonet.org/~nbassill/" class="OWAAutoLink" id="LPNoLP">http://operations.nysmesonet.org/~nbassill/</a></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Adam Phillips <asphilli@ucar.edu><br>
<b>Sent:</b> Tuesday, July 10, 2018 2:17 PM<br>
<b>To:</b> Bassill, Nicholas<br>
<b>Cc:</b> Ncl-talk<br>
<b>Subject:</b> Re: [ncl-talk] Polymark Draw Order In Panel Plots</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div dir="ltr">Hi Nick,
<div>Draw orders can be tricky, especially in this case when multiple layers have to be drawn in precisely the right order, and there's only 3 settings possible in the *DrawOrder resources. </div>
<div>Try:</div>
<div>res@cnFillDrawOrder             = "PreDraw"<br>
</div>
<div>res@mpFillDrawOrder = "Draw"</div>
<div>res@mpOutlineDrawOrder = "PostDraw"</div>
<div>mres@tfPolyDrawOrder= "PostDraw"<br>
</div>
<div>if that doesn't work try switching the mpOutlineDrawOrder  to  "Draw"</div>
<div><br>
</div>
<div>Let ncl-talk know if that doesn't work. If it doesn't, it might be best to send along the complete graphics section of your script.</div>
<div>Adam</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr">On Tue, Jul 10, 2018 at 12:02 PM Bassill, Nicholas <<a href="mailto:nbassill@albany.edu" id="LPlnk618187" class="OWAAutoLink" previewremoved="true">nbassill@albany.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="x_m_8338025322993671858divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0">Hi All,</p>
<p style="margin-top:0; margin-bottom:0">    I hope I have an "easy" question. I'm paneling some (HRRR) model data, and I'd like to overlay some polymarkers signifying actual observations for the first forecast hour, where data is available. This plot looks
 like: <a href="http://operations.nysmesonet.org/~nbassill/sample/mediandewpoint.png" class="x_m_8338025322993671858OWAAutoLink OWAAutoLink" id="LPlnk807224" target="_blank" previewremoved="true">http://operations.nysmesonet.org/~nbassill/sample/mediandewpoint.png</a> (you'll
 note the dots on the map for 11 am).</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">My question is "How can I have these polymarkers on top of the map outlines?"</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I've played around with some draw orders and framing, but nothing seems like it works (or maybe it does work, but NY isn't masked out).</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Here's the crude outline of relevant steps (I don't regularly use panel, so I can't be confident these are all needed):</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">-------</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">... (earlier code)</p>
<p style="margin-top:0; margin-bottom:0"></p>
<div>res@gsnDraw  = False       </div>
<div><span style="font-size:12pt">res@gsnFrame = False  </span></div>
<p style="margin-top:0; margin-bottom:0"></p>
<span>res@mpOutlineOn             = True</span>
<div><span>res@mpFillOn              = True</span></div>
<div><span>res@cnFillDrawOrder             = "PreDraw"</span>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0"></p>
<div>plot = new(15,graphic)</div>
<div>do i=0,14</div>
<div>plot(i)= gsn_csm_contour_map(wks,data(i,:,:),res)</div>
<p style="margin-top:0; margin-bottom:0">end do</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">(polymarker section, including: <span>mres@tfPolyDrawOrder= "PostDraw"</span>)</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">(panel resource stuff)</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0"></p>
<span>gsn_panel(wks,plot,(/4,4/),panelres)</span>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">-------------</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Any assistance would be very much appreciated!</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<div id="x_m_8338025322993671858Signature">
<div id="x_m_8338025322993671858divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div id="x_m_8338025322993671858divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p><span style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Nick Bassill, PhD</span></p>
<p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
Modeler & Meteorologist, Center Of Excellence (Prior: NYS Mesonet)</p>
<p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
LC SB-28, 1400 Washington Ave.,</p>
<p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
SUNY, University at Albany, NY 12222</p>
(518) 442-6375</div>
<div id="x_m_8338025322993671858divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
NYSM Products: <a href="http://operations.nysmesonet.org/~nbassill/" class="x_m_8338025322993671858OWAAutoLink OWAAutoLink" id="LPlnk736973" target="_blank" previewremoved="true">http://operations.nysmesonet.org/~nbassill/</a></div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank" id="LPlnk275107" class="OWAAutoLink" previewremoved="true">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" id="LPlnk78059" class="OWAAutoLink" previewremoved="true">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_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" id="LPlnk667359" class="OWAAutoLink" previewremoved="true">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" id="LPlnk874029" class="OWAAutoLink" previewremoved="true"></a></font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>