<?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: Adding line to split data on graph builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336771#M58421</link>
    <description>How did you plot the line to split the points afterwards? I am able to get the overlay colors based on the new bin but just not the dashed line you have in graph builder.</description>
    <pubDate>Tue, 24 Nov 2020 00:50:54 GMT</pubDate>
    <dc:creator>tarkan_bih</dc:creator>
    <dc:date>2020-11-24T00:50:54Z</dc:date>
    <item>
      <title>Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336124#M58342</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following data set below where red data points are some fails that I would like to screen out. Right now the way I am doing this is roughly calculating a trend line (see image below) and finding its equation. Then I create a new column and use JMP formula to basically check if data point is below line and if it is it updates the new column with a 1 and if it is above it marks new column as a 0. This is a pretty manual process and I was wondering if there was a way you could draw a line in graph builder the would autogenerate its equation and select all units below the line and if possible also create a new column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tarkan_bih_1-1605921984689.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28529i68FEFFFAC67B3B2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tarkan_bih_1-1605921984689.png" alt="tarkan_bih_1-1605921984689.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:08:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336124#M58342</guid>
      <dc:creator>tarkan_bih</dc:creator>
      <dc:date>2023-06-11T11:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336143#M58343</link>
      <description>Hi,&lt;BR /&gt;Is this a typical distribution of your "Pass" and "Fail" data? If it is, it might be quite difficult to identify a rational process to separate the two populations because these broadly overlap (i.e. no apparent trend in distribution above and below your "decision" line). If it is not representative, could you provide a more contrasted example that could guide a possible approach?&lt;BR /&gt;Best,&lt;BR /&gt;TS&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Nov 2020 02:23:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336143#M58343</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2020-11-21T02:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336149#M58344</link>
      <description>&lt;P&gt;Here is how I would do it&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new binning column and specify the following formula
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Selected( Row State( Row() ) ),
	1,
	0
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Go to your graph and then select from the tool bar, the lasso tool&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lasso1.PNG" style="width: 953px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28530iDE32A0E599E2C4EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="lasso1.PNG" alt="lasso1.PNG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Use the lasso selection tool to capture all of the data points you want declare as bad data points&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lasso2.PNG" style="width: 955px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28532i6024C362E17B4B5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="lasso2.PNG" alt="lasso2.PNG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Note that all of the rows in the data table that are associated with the selected point, are selected and the value in the new bin column has been set to 1.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lasso3.PNG" style="width: 611px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28533i669A723D4FC68D31/image-size/large?v=v2&amp;amp;px=999" role="button" title="lasso3.PNG" alt="lasso3.PNG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Now right click on the Header for the bin column and select Col Info&lt;/LI&gt;
&lt;LI&gt;In the Col Info window, click on the Remove button to delete the formula, thus turning the bin values into static values&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lasso4.PNG" style="width: 501px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28534iCEC8DBD983B83AA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="lasso4.PNG" alt="lasso4.PNG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sat, 21 Nov 2020 02:38:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336149#M58344</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-11-21T02:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336252#M58360</link>
      <description>&lt;P&gt;BTW, since Selected() is a Boolean function, the If() function is superfluous. This expression is all that you need for the column formula:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Selected( Row State( Row() ) )&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 22 Nov 2020 15:09:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336252#M58360</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-11-22T15:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336746#M58420</link>
      <description>&lt;P&gt;I created a column "Line" with a line function, created another column "Bin":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZF_1-1606176149813.png" style="width: 347px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28569i78CE00F0BB74FB34/image-dimensions/347x303?v=v2" width="347" height="303" role="button" title="ZF_1-1606176149813.png" alt="ZF_1-1606176149813.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZF_2-1606176203972.png" style="width: 357px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28570iB956E8CD93A04CB8/image-dimensions/357x334?v=v2" width="357" height="334" role="button" title="ZF_2-1606176203972.png" alt="ZF_2-1606176203972.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the graph shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZF_3-1606176260816.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28571iECE48665D43E009B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZF_3-1606176260816.png" alt="ZF_3-1606176260816.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 00:05:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336746#M58420</guid>
      <dc:creator>ZF</dc:creator>
      <dc:date>2020-11-24T00:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336771#M58421</link>
      <description>How did you plot the line to split the points afterwards? I am able to get the overlay colors based on the new bin but just not the dashed line you have in graph builder.</description>
      <pubDate>Tue, 24 Nov 2020 00:50:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336771#M58421</guid>
      <dc:creator>tarkan_bih</dc:creator>
      <dc:date>2020-11-24T00:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336788#M58423</link>
      <description>&lt;P&gt;I did not draw a slashed line.....I thought you were just using that for selection, not display.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 02:07:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336788#M58423</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-11-24T02:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336793#M58425</link>
      <description>&lt;P&gt;To plot the line, put both columns "weight" and "Line" on the Y axis. Then select both Scatter plot and fit line plot from the tool bar, uncheck Y Line under the "Point" and Y weight under "Line of Fit" on the left option bars. Please see screen shot below. thanks. ZF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZF_0-1606188385052.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28572i57390F0BC2AF8CBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZF_0-1606188385052.png" alt="ZF_0-1606188385052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 03:27:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/336793#M58425</guid>
      <dc:creator>ZF</dc:creator>
      <dc:date>2020-11-24T03:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/337134#M58456</link>
      <description>&lt;P&gt;Sorry for confusion, I wanted a line for both selection and display.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 17:53:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/337134#M58456</guid>
      <dc:creator>tarkan_bih</dc:creator>
      <dc:date>2020-11-24T17:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding line to split data on graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/337138#M58460</link>
      <description>&lt;P&gt;I was not aware of this functionality in Graph Builder thanks! I was able to add the line and simplify my workflow for this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 18:05:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-line-to-split-data-on-graph-builder/m-p/337138#M58460</guid>
      <dc:creator>tarkan_bih</dc:creator>
      <dc:date>2020-11-24T18:05:02Z</dc:date>
    </item>
  </channel>
</rss>

