<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Not a problem, glad that worked!!
<div><br>
</div>
<div>Have a good one,</div>
<div>Kacie<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF728255" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Ryan Connelly [rconne01@gmail.com]<br>
<b>Sent:</b> Thursday, February 23, 2017 12:07 PM<br>
<b>To:</b> Kacie Shourd<br>
<b>Cc:</b> ncl-talk<br>
<b>Subject:</b> Re: [ncl-talk] Polyline not displaying<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Your edits, plus those last two additions, did the trick! Thanks Kacie!</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 23, 2017 at 2:54 PM, Kacie Shourd <span dir="ltr">
<<a href="mailto:Kacie.Shourd@dri.edu" target="_blank">Kacie.Shourd@dri.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Ok, so I added a couple of lines to your script (new version attached; with comments so you can easily identify new lines):
<div>
<div><br>
</div>
<div>
<div> radres@gsnFrame = False</div>
<div><br>
</div>
<div>added to your plot resources, and then </div>
<div><br>
</div>
<div> frame(wks)</div>
<div><br>
</div>
<div>after adding the polyline on top of your plot (I also changed "PreDraw" to "PostDraw" so that the line goes on top of your contours).</div>
<div><br>
</div>
<div>Let me know if this works! If not, we can similarly add "gsnDraw = False" and "draw(plot)" where needed, but I think the changes made should do the trick.</div>
<div><br>
</div>
<div>Best,</div>
<div>Kacie</div>
<div><br>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr>
<div id="m_-6012077156376527132divRpF735460" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Ryan Connelly [<a href="mailto:rconne01@gmail.com" target="_blank">rconne01@gmail.com</a>]<br>
<b>Sent:</b> Thursday, February 23, 2017 11:38 AM<br>
<b>To:</b> Kacie Shourd<br>
<b>Cc:</b> ncl-talk<br>
<b>Subject:</b> Re: [ncl-talk] Polyline not displaying<br>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div dir="ltr">Hey Kacie,
<div><br>
</div>
<div>Yup, tried that. That was my first thought.</div>
<div><br>
</div>
<div>Here's the whole script (attached), if it helps.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Ryan</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 23, 2017 at 2:35 PM, Kacie Shourd <span dir="ltr">
<<a href="mailto:Kacie.Shourd@dri.edu" target="_blank">Kacie.Shourd@dri.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hiya Ryan,
<div><br>
</div>
<div>Have you tried changing </div>
<div><span style="font-family:monospace,monospace; font-size:16px"> gres@cnLineDrawOrder = "PreDraw"</span></div>
<div><font face="monospace, monospace"><span style="font-size:16px"><br>
</span></font></div>
<div><font size="2">to </font></div>
<div><font face="monospace, monospace"><span style="font-size:16px"><br>
</span></font></div>
<div><span style="font-family:monospace,monospace; font-size:16px"> gres@cnLineDrawOrder = "PostDraw"</span></div>
<div><font face="monospace, monospace"><span style="font-size:16px"><br>
</span></font></div>
<div><font size="2">??</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">Without seeing more of your script or your output that's all I can suggest!</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">Best,</font></div>
<div><font size="2">Kacie</font></div>
<div><font size="2"><br>
</font></div>
<div>
<div style="font-size:13.3333px; margin:0px"><font face="Segoe UI,Helvetica,Arial,sans-serif" size="3"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">---</span></font></font></div>
<div style="font-size:13.3333px; background-color:white; margin:0px"><font face="Segoe UI,Helvetica,Arial,sans-serif" size="3"><font face="Courier New" size="2"><span style="font-size:10pt">Kacie N. Shourd</span></font></font></div>
<div style="font-size:13.3333px; background-color:white; margin:0px"><font face="Segoe UI,Helvetica,Arial,sans-serif" size="3"><font face="Malgun Gothic,sans-serif" size="2"><span style="font-size:10pt">µå¸²</span></font></font></div>
<div style="font-size:13.3333px; background-color:white; margin:0px"><font face="Segoe UI,Helvetica,Arial,sans-serif" size="3"><font face="Arial,sans-serif" size="2" color="#222222"><span style="font-size:9.5pt"> </span></font></font></div>
<div style="font-size:13.3333px; background-color:white; margin:0px"><font face="Segoe UI,Helvetica,Arial,sans-serif" size="3"><font face="Courier New" size="2" color="#222222"><span style="font-size:10pt">Graduate Research Assistant</span></font></font></div>
<div style="font-size:13.3333px; background-color:white; margin:0px"><font face="Segoe UI,Helvetica,Arial,sans-serif" size="3"><font face="Courier New" size="2" color="#222222"><span style="font-size:10pt">Desert Research Institute</span></font></font></div>
<div style="font-size:13.3333px; background-color:white; margin:0px"><font face="Segoe UI,Helvetica,Arial,sans-serif" size="3"><a href="mailto:Kacie.Shourd@dri.edu" target="_blank"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Courier New" size="2"><span style="font-size:10pt">Kacie.Shourd@dri.edu</span></font></span></font></a></font></div>
<div style="font-size:13.3333px; background-color:white; margin:0px"><font face="Segoe UI,Helvetica,Arial,sans-serif" size="3"><font face="Courier New" size="2" color="#222222"><span style="font-size:10pt">Work:
<a href="tel:(775)%20674-7049" value="+17756747049" target="_blank">(775) 674-7049</a></span></font></font></div>
</div>
<div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr>
<div id="m_-6012077156376527132m_-2105923489503097043divRpF193591" style="direction:ltr">
<font face="Tahoma" size="2" color="#000000"><b>From:</b> <a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">
ncl-talk-bounces@ucar.edu</a> [<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>] on behalf of Ryan Connelly [<a href="mailto:rconne01@gmail.com" target="_blank">rconne01@gmail.com</a>]<br>
<b>Sent:</b> Thursday, February 23, 2017 11:31 AM<br>
<b>To:</b> ncl-talk<br>
<b>Subject:</b> [ncl-talk] Polyline not displaying<br>
</font><br>
</div>
<div>
<div class="m_-6012077156376527132h5">
<div></div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>I added this small section to the bottom of a script:</div>
<div><br>
</div>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<div>
<div><font face="monospace, monospace">plot = gsn_csm_contour_map(wks,rd_pl<wbr>ane,radres)</font></div>
</div>
<div>
<div><font face="monospace, monospace"><br>
</font></div>
</div>
<div>
<div><font face="monospace, monospace">; Construct a polyline to show cross-section location</font></div>
</div>
<div>
<div><font face="monospace, monospace"><br>
</font></div>
</div>
<div>
<div><font face="monospace, monospace"> gres = True</font></div>
</div>
<div>
<div><font face="monospace, monospace"> gres@gsFillColor = "black"</font></div>
</div>
<div>
<div><font face="monospace, monospace"> gres@cnLineDrawOrder = "PreDraw"</font></div>
</div>
<div>
<div><font face="monospace, monospace"> gres@gsLineThicknessF = 5.0</font></div>
</div>
<div>
<div><font face="monospace, monospace"><br>
</font></div>
</div>
<div>
<div><font face="monospace, monospace"> lat = (/44.4, 42.9/)</font></div>
</div>
<div>
<div><font face="monospace, monospace"> lon = (/-71.3, -69.3/)</font></div>
</div>
<div>
<div><font face="monospace, monospace"> dum = gsn_add_polyline(wks,plot,lon,<wbr>lat,gres)</font></div>
</div>
<div>
<div><font face="monospace, monospace"><br>
</font></div>
</div>
<div>
<div><font face="monospace, monospace"> draw(plot)</font></div>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>But can't seem to get the line to appear. Can anyone tell me what I'm doing wrong?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Ryan<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-6012077156376527132m_-2105923489503097043gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr"><font size="1">Ryan Connelly</font></div>
<div dir="ltr">
<div dir="ltr" style="font-size:12.8px"><font color="#000000"><font size="1">M.S. Student in Atmospheric Sciences, </font><span style="font-size:x-small">Stony Brook University</span><br>
</font></div>
<div dir="ltr" style="font-size:12.8px">
<div><font color="#000000"><font size="1">B.S. in Meteorology with Minors in Mathematics and GIS, </font><span style="font-size:x-small">Valparaiso University</span></font></div>
</div>
<div><a href="mailto:rconne01@gmail.com" style="font-size:x-small" target="_blank">rconne01@gmail.com</a><br>
</div>
<div><font size="1"><a href="mailto:ryan.connelly@stonybrook.edu" target="_blank">ryan.connelly@stonybrook.edu</a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<font face="Arial" size="2">PUBLIC RECORDS NOTICE: In accordance with NRS Chapter 239, this email and responses, unless otherwise made confidential by law, may be subject to the Nevada Public Records laws and may be disclosed to the public upon request.</font>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-6012077156376527132gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr"><font size="1">Ryan Connelly</font></div>
<div dir="ltr">
<div dir="ltr" style="font-size:12.8000001907349px"><font color="#000000"><font size="1">M.S. Student in Atmospheric Sciences, </font><span style="font-size:x-small">Stony Brook University</span><br>
</font></div>
<div dir="ltr" style="font-size:12.8000001907349px">
<div><font color="#000000"><font size="1">B.S. in Meteorology with Minors in Mathematics and GIS, </font><span style="font-size:x-small">Valparaiso University</span></font></div>
</div>
<div><a href="mailto:rconne01@gmail.com" style="font-size:x-small" target="_blank">rconne01@gmail.com</a><br>
</div>
<div><font size="1"><a href="mailto:ryan.connelly@stonybrook.edu" target="_blank">ryan.connelly@stonybrook.edu</a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr"><font size="1">Ryan Connelly</font></div>
<div dir="ltr">
<div dir="ltr" style="font-size:12.8000001907349px"><font color="#000000"><font size="1">M.S. Student in Atmospheric Sciences, </font><span style="font-size:x-small">Stony Brook University</span><br>
</font></div>
<div dir="ltr" style="font-size:12.8000001907349px">
<div><font color="#000000"><font size="1">B.S. in Meteorology with Minors in Mathematics and GIS, </font><span style="font-size:x-small">Valparaiso University</span></font></div>
</div>
<div><a href="mailto:rconne01@gmail.com" style="font-size:x-small" target="_blank">rconne01@gmail.com</a><br>
</div>
<div><font size="1"><a href="mailto:ryan.connelly@stonybrook.edu" target="_blank">ryan.connelly@stonybrook.edu</a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>