<div dir="ltr">Jeff,<div><br></div><div>It's actually pretty simple. Just substitute "line" for "polyf" in the command. For example:</div><div><br></div><div>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">'draw polyf x1 y1 x2 y2 x3 y3 x4 y4 x1 y1' will draw a filled polygon</span>
<br></div><div>'draw line x1 y1 x2 y2 x3 y3 x4 y4 x1 y1' will draw an unfilled polygon</div><div><br></div><div>You control the line color same as for polyf. If you want to draw a filled polygon with a border of different color, then just do the 'draw polyf...' followed by the 'draw line...' but with a different color.</div><div><br></div><div>Hope this helps.</div><div>Stephen McMillan</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 1, 2018 at 5:49 PM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I guess. I was just hoping there was a built-in function to do this so that I wouldn't have to iterate 'draw line' n times just to draw an unfilled n-gon. There are 'draw rec' and 'draw recf' functions, so I figured it would make sense if there was a 'draw poly' function to correspond to 'draw polyf' in the same manner. Thank you for the response, though.<div><br></div><div>Jeff</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 1, 2018 at 3:31 PM, David Nielsen <span dir="ltr"><<a href="mailto:davidnielsen@id.uff.br" target="_blank">davidnielsen@id.uff.br</a>></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 class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Jeff, <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">You can make a function like the following to draw lines to make a polygon. In this case, (ir)regular 4-side polygons. Is this what you meant?<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">******************* This funtion draws a box
<br>* Usage:
<br>* ddbox lat1 lat2 lat3 lat4 lon1 lon2 lon3 lon4
<br> <br>function ddbox(arg)
<br> <br>lat1=subwrd(arg,1)
<br>lat2=subwrd(arg,2)
<br>lat3=subwrd(arg,3)
<br>lat4=subwrd(arg,4)
<br>lon1=subwrd(arg,5)
<br>lon2=subwrd(arg,6)
<br>lon3=subwrd(arg,7)
<br>lon4=subwrd(arg,8)
<br> <br>'set line 1 1 12'
<br> <br>'q w2xy 'lon1' 'lat1
<br>x1=subwrd(result,3)
<br>y1=subwrd(result,6)
<br> <br>'q w2xy 'lon2' 'lat2
<br>x2=subwrd(result,3)
<br>y2=subwrd(result,6)
<br> <br>'q w2xy 'lon3' 'lat3
<br>x3=subwrd(result,3)
<br>y3=subwrd(result,6)
<br> <br>'q w2xy 'lon4' 'lat4
<br>x4=subwrd(result,3)
<br>y4=subwrd(result,6)
<br> <br>'draw line 'x1' 'y1' 'x2' 'y2
<br>'draw line 'x2' 'y2' 'x3' 'y3
<br>'draw line 'x3' 'y3' 'x4' 'y4
<br>'draw line 'x4' 'y4' 'x1' 'y1
<br> <br>return</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-1523135779425892185h5">2018-03-01 19:13 GMT-03:00 Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-1523135779425892185h5"><div dir="ltr">Is there a version of the draw polyf function to draw an unfilled polygon?<span class="m_-1523135779425892185m_-480486142326328202HOEnZb"><font color="#888888"><div><br></div><div>Jeff Duda<br clear="all"><div><br></div>-- <br><div class="m_-1523135779425892185m_-480486142326328202m_5965244486856873670gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="2"><span>Jeff Duda, Research Scientist<br>
</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>University of Colorado Boulder</span></span></font></p><font size="2"><span>
</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>Cooperative Institute for Research in Environmental Sciences</span></span></font></p><font size="2"><span>
</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>NOAA/OAR/ESRL/Global Systems Division</span></span></font></p><font size="2"><span>
<span>Boulder, CO</span></span></font>
</div></div></div></div></div></div></div></div></div></div></div>
</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-1523135779425892185gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="2"><span>Jeff Duda, Research Scientist<br>
</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>University of Colorado Boulder</span></span></font></p><font size="2"><span>
</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>Cooperative Institute for Research in Environmental Sciences</span></span></font></p><font size="2"><span>
</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>NOAA/OAR/ESRL/Global Systems Division</span></span></font></p><font size="2"><span>
<span>Boulder, CO</span></span></font>
</div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>