<?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: add fitting line using jmp script. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/add-fitting-line-using-jmp-script/m-p/6066#M6065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what if remove the Fit line? is there any way to remove fit line from the plot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Dec 2012 17:00:36 GMT</pubDate>
    <dc:creator>xlin11</dc:creator>
    <dc:date>2012-12-29T17:00:36Z</dc:date>
    <item>
      <title>add fitting line using jmp script.</title>
      <link>https://community.jmp.com/t5/Discussions/add-fitting-line-using-jmp-script/m-p/6064#M6063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using jmp script to draw X-Y scatter plots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I add fitting lines by group using JMP scripts too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is sample of the script I copied:&lt;/P&gt;&lt;P&gt;Bivariate(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y( :Height ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X( :Age ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fit Where( :HDDt == "Schoo_A", Fit Line( {Line Color( {213, 72, 87} )} ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fit Where( :HDDt == "School_B", Fit Line( {Line Color( {64, 111, 223} )} ) )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If next time, I have 3 groups, School_A, School_B, School_C, do I have to manually add the&lt;/P&gt;&lt;P&gt;3rd fitting line, and choose the colors? I am hoping JMP script can choose color based on # of groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 21:27:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/add-fitting-line-using-jmp-script/m-p/6064#M6063</guid>
      <dc:creator>qt</dc:creator>
      <dc:date>2012-12-07T21:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: add fitting line using jmp script.</title>
      <link>https://community.jmp.com/t5/Discussions/add-fitting-line-using-jmp-script/m-p/6065#M6064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bivariate() can have an optional Group By() argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #a70096;"&gt;&lt;SPAN style="color: #2600eb;"&gt;Open&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"$SAMPLE_DATA/Big Class.jmp"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #150097;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Bivariate&lt;STRONG&gt;(&lt;/STRONG&gt; Y&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;:&lt;/SPAN&gt;weight &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt; X&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;:&lt;/SPAN&gt;height &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt; Group by&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;:&lt;/SPAN&gt;sex &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt; Fit line&lt;STRONG&gt;()&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 22:09:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/add-fitting-line-using-jmp-script/m-p/6065#M6064</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2012-12-07T22:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: add fitting line using jmp script.</title>
      <link>https://community.jmp.com/t5/Discussions/add-fitting-line-using-jmp-script/m-p/6066#M6065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what if remove the Fit line? is there any way to remove fit line from the plot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Dec 2012 17:00:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/add-fitting-line-using-jmp-script/m-p/6066#M6065</guid>
      <dc:creator>xlin11</dc:creator>
      <dc:date>2012-12-29T17:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: add fitting line using jmp script.</title>
      <link>https://community.jmp.com/t5/Discussions/add-fitting-line-using-jmp-script/m-p/6067#M6066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In JMP 10 this syntax can be used to remove the first fitted line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier;"&gt;biv &lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;STRONG&gt;(&lt;/STRONG&gt;Curve&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; Remove Fit&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2012 12:31:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/add-fitting-line-using-jmp-script/m-p/6067#M6066</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2012-12-31T12:31:22Z</dc:date>
    </item>
  </channel>
</rss>

