<?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: Formula plot in graph builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734514#M91542</link>
    <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a matter of fact, I looked at that exact page before my post. I must not understand the process properly because it is not working for me. When I drag the formula to the Y axis with the individual values on the X axis Graph builder just plots individual data points for the function, not a smooth curve. See attached image. The Legend shows a line but there is no line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what I'm doing wrong here.&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="scott1588_0-1710345776363.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62167iBD34F422BABD83FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scott1588_0-1710345776363.png" alt="scott1588_0-1710345776363.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>Wed, 13 Mar 2024 16:03:24 GMT</pubDate>
    <dc:creator>scott1588</dc:creator>
    <dc:date>2024-03-13T16:03:24Z</dc:date>
    <item>
      <title>Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/733668#M91500</link>
      <description>&lt;P&gt;I performed a curve fit in JMP and saved the formula to a column (see below). I would like to be able to have the same curve appear in Graph Builder.&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="JMP Flare Curves.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62156i7F7EB5FD3CDC5484/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMP Flare Curves.png" alt="JMP Flare Curves.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; I have tried to use Customize&amp;gt;Script to add the saved formula as a Y Function but nothing happens. See below.&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="scott1588_0-1710289650510.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62157iD0A8E1803ABBDDB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scott1588_0-1710289650510.png" alt="scott1588_0-1710289650510.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm sure I'm making some kind of simple error but I'm stuck at this point.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 00:28:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/733668#M91500</guid>
      <dc:creator>scott1588</dc:creator>
      <dc:date>2024-03-13T00:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/733937#M91503</link>
      <description>&lt;P&gt;Add a formula column to your data table, using your function.&amp;nbsp; Then add that column to the graph as a function.&amp;nbsp; Here's an example with a simple linear regression&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "Test Linear Regression", Add Rows( 6 ),
	New Column( "Column 1", Numeric, "Continuous", Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4, 5, 6] ) ),
	New Column( "Column 2", Numeric, "Continuous", Format( "Best", 12 ),
		Set Values( [1, 3, 2, 4, 3, 7] ) ),
	New Column( "Column 3", Numeric, "Continuous", Format( "Best", 12 ),
		Formula( 0.1333333 + 0.9142857 * :Column 1 ) )
);

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 522, 456 ),
	Show Control Panel( 0 ),
	Variables( X( :Column 1 ), Y( :Column 2 ), Y( :Column 3, Position( 1 ) ) ),
	Elements(
		Formula( X, Y( 2 ), Legend( 12 ) ),
		Points( X, Y( 1 ), Legend( 13 ) )
	),
	SendToReport(
		Dispatch( {}, "400", ScaleBox,
			{Legend Model( 12,
				Properties( 0, {Line Color( 19 )}, Item ID( "Column 3", 1 ) )
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmroz_0-1710295424410.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62158iDE6D1036AB1CEC2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pmroz_0-1710295424410.png" alt="pmroz_0-1710295424410.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here's the formula column:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmroz_2-1710295488932.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62160iF9D973916AF1ADFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pmroz_2-1710295488932.png" alt="pmroz_2-1710295488932.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="pmroz_1-1710295449491.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62159i71E020D6D17683DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pmroz_1-1710295449491.png" alt="pmroz_1-1710295449491.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 02:05:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/733937#M91503</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2024-03-13T02:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/733949#M91505</link>
      <description>&lt;P&gt;So... First, thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the formula column but I'm not sure how to add it to the graph as a function. I don't really know JSL that well. Can I do this without using JSL?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 03:03:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/733949#M91505</guid>
      <dc:creator>scott1588</dc:creator>
      <dc:date>2024-03-13T03:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/733959#M91506</link>
      <description>&lt;P&gt;Figured it out. I can add the formula to Custom&amp;gt;Script, but I have to change the column name to x.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 03:27:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/733959#M91506</guid>
      <dc:creator>scott1588</dc:creator>
      <dc:date>2024-03-13T03:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734373#M91530</link>
      <description>&lt;P&gt;Graph Builder provides the Formula graphics element. It is based on a data column formula. Please see the&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;https://www.jmp.com/support/help/en/17.0/#page/jmp/formula.shtml&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 12:52:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734373#M91530</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2024-03-13T12:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734514#M91542</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a matter of fact, I looked at that exact page before my post. I must not understand the process properly because it is not working for me. When I drag the formula to the Y axis with the individual values on the X axis Graph builder just plots individual data points for the function, not a smooth curve. See attached image. The Legend shows a line but there is no line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what I'm doing wrong here.&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="scott1588_0-1710345776363.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62167iBD34F422BABD83FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scott1588_0-1710345776363.png" alt="scott1588_0-1710345776363.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>Wed, 13 Mar 2024 16:03:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734514#M91542</guid>
      <dc:creator>scott1588</dc:creator>
      <dc:date>2024-03-13T16:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734591#M91554</link>
      <description>&lt;P&gt;You seem to be plotting the data, not the formula. Try this: drag the predictor data column to the X role, drag the response data column to the Y role, and then drag the formula data column just to the right of the Y role (inside the frame and close to the left border). JMP should preview the result until you release the mouse button. You should see the formula added to the markers.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 17:41:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734591#M91554</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2024-03-13T17:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734600#M91556</link>
      <description>&lt;P&gt;Here is a step-by-step solution.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Drag the predictor data column to the X role.&lt;/LI&gt;
&lt;LI&gt;Drag the response data column to the Y role.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scatter.JPG" style="width: 993px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62181i094FDB810E979740/image-size/large?v=v2&amp;amp;px=999" role="button" title="scatter.JPG" alt="scatter.JPG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Drag the formula data column to the right of the Y role inside the frame.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="drag formula.JPG" style="width: 580px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62179i4DC5239907CC696A/image-size/large?v=v2&amp;amp;px=999" role="button" title="drag formula.JPG" alt="drag formula.JPG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Right-click in the frame and select Points &amp;gt; Y &amp;gt; (formula data column) to remove the markers for the formula.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="minus points I.JPG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62182iBFE3469ED134AB24/image-size/large?v=v2&amp;amp;px=999" role="button" title="minus points I.JPG" alt="minus points I.JPG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Right-click in the frame and select Smoother &amp;gt; Y &amp;gt; (response data column) to remove the markers for the data.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="minus smoother.JPG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62183iBB2E60F2C9715AF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="minus smoother.JPG" alt="minus smoother.JPG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 13 Mar 2024 17:52:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734600#M91556</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2024-03-13T17:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734604#M91557</link>
      <description>&lt;P&gt;To switch from point plot to any other plot type - like &lt;STRONG&gt;Formula&lt;/STRONG&gt; - just click on the icon on top of the plot region:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1710352556441.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62184i458F855E4FB8C5EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1710352556441.png" alt="hogi_0-1710352556441.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if the icons are missing, you can show them again by activating "&lt;STRONG&gt;Show Control Panel&lt;/STRONG&gt;" from the Graph builder RedTriangle Menu:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1710352592382.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62185i007D586F5682BD6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1710352592382.png" alt="hogi_1-1710352592382.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 17:57:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734604#M91557</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-03-13T17:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formula plot in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734609#M91560</link>
      <description>&lt;P&gt;Well... I'm an idiot. It turns out that I have two similarly named predictor columns. I used one to generate the curve fit equation but I inadvertently used the other on the X axis for graph builder. Once I corrected this, the Formula Graphics element worked like a charm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aaargh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all your help. The incredible support from the JMP staff and community are a HUGE reason why we use JMP.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 18:36:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-plot-in-graph-builder/m-p/734609#M91560</guid>
      <dc:creator>scott1588</dc:creator>
      <dc:date>2024-03-13T18:36:22Z</dc:date>
    </item>
  </channel>
</rss>

