<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: The &amp;quot;in polygon&amp;quot; function in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/The-quot-in-polygon-quot-function/m-p/4095#M4095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Yes, of course - I should have tried that.&amp;nbsp; Problem solved - many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Dec 2011 22:36:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-10T22:36:47Z</dc:date>
    <item>
      <title>The "in polygon" function</title>
      <link>https://community.jmp.com/t5/Discussions/The-quot-in-polygon-quot-function/m-p/4093#M4093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been having problems getting a script to work in JMP 8 in which I need to determine whether a point is inside or outside a polygon.&amp;nbsp; I've now stripped the problem down to a simple example that illustrates what's happening, and include it below.&amp;nbsp; It initially looks fine, but if I click around the coordinates {75, 75}, the script reports that the point is still inside the polygon - which it isn't.&amp;nbsp; The vertices of the polygon don't cross over themselves in terms of the order in which they're defined - which was my first suspicion - so what, if anything, have I missed?&amp;nbsp; Whatever it is, JMP 9 appears to have allowed for it, because it works as I'd expect it to there.&amp;nbsp; It needs to run in either, however, so I'm wondering whether I'll need to find an alternative to the "in polygon" function.&amp;nbsp; I can do it, but I shan't bother if I've just made a simple error.&amp;nbsp; Here's the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;// Polygon;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;XA &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;-&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;50&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;-&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;50&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;50&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;50&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;YA &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;100&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;50&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;-&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;50&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;-&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;50&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;50&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;// Initial point on graph;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;xp &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;0&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; yp &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;0&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;gb &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;Graph Box&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;FrameSize&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;400&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;400&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;XScale&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;-&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;110&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;110&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;yScale&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;-&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;110&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;110&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;mousetrap&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;({}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; xp &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; x&lt;/SPAN&gt;;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; yp &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; y&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;transparency&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;0.2&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;for&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;i&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=-&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;100&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; i&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;100&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; i&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;i&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;+&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;10&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;hline&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;i&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;vline&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;i&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;marker size&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;5&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;fill color&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;"blue"&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;polygon&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;XA&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; YA&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;transparency&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;0.99&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;marker&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;STRONG&gt;{&lt;/STRONG&gt;xp&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; yp&lt;STRONG&gt;})&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;text&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;center justified&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;STRONG&gt;{&lt;/STRONG&gt;xp&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; yp&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;+&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;5&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;in polygon&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;xp&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; yp&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; XA&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; YA&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;"In"&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;"Out"&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;nw &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;=&lt;/SPAN&gt; &lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #0000dd; font-size: 9pt;"&gt;new window&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;"Demo"&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; gb&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: navy; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many thanks for any help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Dec 2011 18:47:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/The-quot-in-polygon-quot-function/m-p/4093#M4093</guid>
      <dc:creator />
      <dc:date>2011-12-10T18:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: The "in polygon" function</title>
      <link>https://community.jmp.com/t5/Discussions/The-quot-in-polygon-quot-function/m-p/4094#M4094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I repeated the first point (0,100) at the end of the polygon list of points and it worked in JMP 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Dec 2011 21:36:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/The-quot-in-polygon-quot-function/m-p/4094#M4094</guid>
      <dc:creator>mpb</dc:creator>
      <dc:date>2011-12-10T21:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: The "in polygon" function</title>
      <link>https://community.jmp.com/t5/Discussions/The-quot-in-polygon-quot-function/m-p/4095#M4095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Yes, of course - I should have tried that.&amp;nbsp; Problem solved - many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Dec 2011 22:36:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/The-quot-in-polygon-quot-function/m-p/4095#M4095</guid>
      <dc:creator />
      <dc:date>2011-12-10T22:36:47Z</dc:date>
    </item>
  </channel>
</rss>

