<?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: Trying to avoid Transposition in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942246#M109500</link>
    <description>&lt;P&gt;Something like this should work.&amp;nbsp; I added a column called "X Limit" and put a couple numbers in there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Current Data Table();

nw = New Window( "window", gb = Graph Box( X Scale( 0, 120 ), Y Scale( 0, 35000 ) ) );
For Each Row(
	dt,
	Eval(
		Eval Expr(
			gb[FrameBox( 1 )] &amp;lt;&amp;lt; Add Graphics Script(
				Y Function(
					Expr( dt[Row(), "HL_HR1_R"] ) + Expr( dt[Row(), "HL_HR2_R"] ) * x + Expr( dt[Row(), "HL_HR3_R"] ) * Power( x, 2 ),
					x,
					Max( Expr( dt[Row(), "X Limit"] ) )
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mmarchandFSLR_0-1776289266804.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/99716i8CD717E05C61EAD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandFSLR_0-1776289266804.png" alt="mmarchandFSLR_0-1776289266804.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2026 21:41:21 GMT</pubDate>
    <dc:creator>mmarchandFSLR</dc:creator>
    <dc:date>2026-04-15T21:41:21Z</dc:date>
    <item>
      <title>Trying to avoid Transposition</title>
      <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/940815#M109414</link>
      <description>&lt;P&gt;I have a script that works but applies transposition for that to happen.&amp;nbsp; Wondering if there's a less clunky way to achieve the goal?&amp;nbsp; I have 3 columns, one contains a quadratic coefficient(a), the second contains a linear coefficient(b), and the third contains a constant(c).&amp;nbsp; When multiplied by an input variable x, I get an arc.&amp;nbsp; Is there a way to form that arc without transposing the data to do so?&amp;nbsp; Presently, I create columns with&amp;nbsp;incremental changes in x in a transposed table but the data is very digital and there may be a better approach.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="gs_tkn show"&gt;ax²&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="gs_tkn show"&gt;+&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="gs_tkn show"&gt;bx&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="gs_tkn show"&gt;+&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="gs_tkn show"&gt;c&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="gs_tkn show"&gt;=&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="gs_tkn show"&gt;0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 18:09:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/940815#M109414</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2026-04-09T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to avoid Transposition</title>
      <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/940889#M109416</link>
      <description>&lt;P&gt;Take a look at the Y Function&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 03:39:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/940889#M109416</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2026-04-10T03:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to avoid Transposition</title>
      <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/940993#M109423</link>
      <description>&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for this, don't seem to be able to find a decipherable example of that.&amp;nbsp; I did suspect there was a better way to do this.&amp;nbsp; Incidentally, the upper limit of X is stored in a column also.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 13:52:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/940993#M109423</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2026-04-10T13:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to avoid Transposition</title>
      <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/940996#M109424</link>
      <description>&lt;P&gt;Pull values from your table to the example found from Scripting Index. Evaluate the values to the the Y Function for example with Eval(EvalExpr())&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
New Window("Example",
	Graph Box(
		Pen Color("red");
		Y Function(20 + 40 * Sin(a / 30), a);
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Optionally you can create formula column and use Profiler&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 14:01:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/940996#M109424</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-04-10T14:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to avoid Transposition</title>
      <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942241#M109497</link>
      <description>&lt;P&gt;Tried this but I need to raise x to the power 2 and that seems to be where it fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Current Data Table();

nw = New Window("window", vlb = V List Box());
For Each Row(dt,
	Eval(EvalExpr(
		vlb &amp;lt;&amp;lt; Append(Graph Box(Y Function(Expr(dt[Row(), "HL_HR1_R"]) + Expr(dt[Row(), "HL_HR2_R"]) * x + Expr(dt[Row(), "HL_HR3_R"]) * Power (x, 2) ,x)));
	))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 20:54:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942241#M109497</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2026-04-15T20:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to avoid Transposition</title>
      <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942243#M109498</link>
      <description>&lt;P&gt;How does it fail?&amp;nbsp; Any error message?&amp;nbsp; Your code works when I run it on a dummy table with four rows.&amp;nbsp; I just might want to adjust the axes some.&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="mmarchandFSLR_0-1776288507002.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/99715iBC97856E0F902F15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandFSLR_0-1776288507002.png" alt="mmarchandFSLR_0-1776288507002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 21:28:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942243#M109498</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2026-04-15T21:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to avoid Transposition</title>
      <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942244#M109499</link>
      <description>&lt;P&gt;Error was self inflicted, you're right, it does plot.&amp;nbsp; I have 2 remaining challenges.&lt;/P&gt;
&lt;P&gt;1 I would like all the plots on a single graph.&lt;/P&gt;
&lt;P&gt;2 I would like to limit x for each plot to a value stored in another data column.&amp;nbsp; Generally, that value is &amp;gt;100.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 21:36:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942244#M109499</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2026-04-15T21:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to avoid Transposition</title>
      <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942246#M109500</link>
      <description>&lt;P&gt;Something like this should work.&amp;nbsp; I added a column called "X Limit" and put a couple numbers in there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Current Data Table();

nw = New Window( "window", gb = Graph Box( X Scale( 0, 120 ), Y Scale( 0, 35000 ) ) );
For Each Row(
	dt,
	Eval(
		Eval Expr(
			gb[FrameBox( 1 )] &amp;lt;&amp;lt; Add Graphics Script(
				Y Function(
					Expr( dt[Row(), "HL_HR1_R"] ) + Expr( dt[Row(), "HL_HR2_R"] ) * x + Expr( dt[Row(), "HL_HR3_R"] ) * Power( x, 2 ),
					x,
					Max( Expr( dt[Row(), "X Limit"] ) )
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mmarchandFSLR_0-1776289266804.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/99716i8CD717E05C61EAD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandFSLR_0-1776289266804.png" alt="mmarchandFSLR_0-1776289266804.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 21:41:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942246#M109500</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2026-04-15T21:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to avoid Transposition</title>
      <link>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942395#M109504</link>
      <description>&lt;P&gt;This approach works, however, it is much slower than the transposition method I was originally using.&amp;nbsp; I can have a lot of data to process unfortunately.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2026 14:51:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Trying-to-avoid-Transposition/m-p/942395#M109504</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2026-04-16T14:51:40Z</dc:date>
    </item>
  </channel>
</rss>

