<?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: column reference plot of graph builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45956#M26200</link>
    <description>&lt;P class="p1"&gt;Uday,&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thanks for your post. Here i can see the fomula code as follows. Can you explan what means&amp;nbsp;&lt;SPAN&gt;cols&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;91&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;93 and&amp;nbsp;&lt;SPAN&gt; cols&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;91&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;2&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;93?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Formula&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN class="s1"&gt;Sqrt&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN class="s1"&gt;Expr&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cols&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;91&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;93&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN class="s2"&gt;^&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;+&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;Expr&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cols&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;91&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;93&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN class="s2"&gt;^&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Oct 2017 02:36:56 GMT</pubDate>
    <dc:creator>GoodMan</dc:creator>
    <dc:date>2017-10-15T02:36:56Z</dc:date>
    <item>
      <title>column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45737#M26113</link>
      <description>&lt;P&gt;Thank you for giving amazing suggestions.&lt;/P&gt;
&lt;P&gt;I encountered something else and I have always been curious about this. Whenever I come across this, I try to stack to circumvent the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a graph builder, how to plot without knowing the name of the column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;collist =fudt&amp;lt;&amp;lt; get column names(string);
qdt=Char(collist[9]); //Assuming I want to plot column number 9 on the Y axis, say for example "Data_ABC"
 
gbfc = fudt&amp;lt;&amp;lt;Graph Builder(
Size( 1899, 922 ),
Show Control Panel( 0 ),
Variables(
X( :Index ),
X( :Lot, Position( 1 ) ),
X( :Wafers, Position( 1 ) ),
Y( :qdt),// THIS DOESN't WORK - I want to understand the syntax
Color( :temp )
)
Elements( Points( X( 1 ), X( 2 ), X( 3 ), Y, Legend( 33 ) ) )
);&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 13:34:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45737#M26113</guid>
      <dc:creator>vishwasanj</dc:creator>
      <dc:date>2017-10-15T13:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45738#M26114</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7511"&gt;@vishwasanj&lt;/a&gt;:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
cdlg = Column Dialog( clist = ColList( "Pick 2 Columns", Min Col( 2 ), Max Col( 2 ) ) );
cols = cdlg["clist"];
 
newColExpr = Expr( dt &amp;lt;&amp;lt; New Column( "Radius", Numeric, Formula( Sqrt( Expr( cols[1] ) ^ 2 + Expr( cols[2]; ) ^ 2 ) ) ) );
 
Eval( Eval Expr( newColExpr ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/JSL-Creating-formula-using-a-variable-column-name/td-p/942/page/2" target="_blank"&gt;https://community.jmp.com/t5/Discussions/JSL-Creating-formula-using-a-variable-column-name/td-p/942/page/2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 13:43:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45738#M26114</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2017-10-15T13:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45739#M26115</link>
      <description>That was cool. Thank you Uday.</description>
      <pubDate>Tue, 10 Oct 2017 22:28:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45739#M26115</guid>
      <dc:creator>vishwasanj</dc:creator>
      <dc:date>2017-10-10T22:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45747#M26118</link>
      <description>&lt;P&gt;Your variable qdt points to the name of the column.&amp;nbsp; It is not a column itself.&amp;nbsp; You have to reference it using the construct column(fudt, qdt):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gbfc = fudt &amp;lt;&amp;lt; Graph Builder(
	Size( 1899, 922 ),
	Show Control Panel( 0 ),
	Variables(
		X( :Index ),
		X( :Lot, Position( 1 ) ),
		X( :Wafers, Position( 1 ) ),
		Y( Column( fudt, qdt ) ), 	// use column pointed to by the qdt variable
		//Y( :qdt),	// THIS DOESN't WORK - I want to understand the syntax
		Color( :temp ),

	),
	Elements( Points( X( 1 ), X( 2 ), X( 3 ), Y, Legend( 33 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Oct 2017 12:50:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45747#M26118</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2017-10-11T12:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45777#M26128</link>
      <description>Interesting. Let me try that syntax. Thank you pmroz</description>
      <pubDate>Wed, 11 Oct 2017 19:09:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45777#M26128</guid>
      <dc:creator>vishwasanj</dc:creator>
      <dc:date>2017-10-11T19:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45956#M26200</link>
      <description>&lt;P class="p1"&gt;Uday,&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thanks for your post. Here i can see the fomula code as follows. Can you explan what means&amp;nbsp;&lt;SPAN&gt;cols&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;91&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;93 and&amp;nbsp;&lt;SPAN&gt; cols&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;91&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;2&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;93?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Formula&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN class="s1"&gt;Sqrt&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN class="s1"&gt;Expr&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cols&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;91&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;93&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN class="s2"&gt;^&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;+&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;Expr&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cols&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;91&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;amp;#&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;93&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN class="s2"&gt;^&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 02:36:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45956#M26200</guid>
      <dc:creator>GoodMan</dc:creator>
      <dc:date>2017-10-15T02:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45958#M26202</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6687"&gt;@GoodMan&lt;/a&gt;,&lt;BR /&gt;Thanks for pointing out . I recollected and recalled that from the post . Not the way I would do it .&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
ColNames = dt &amp;lt;&amp;lt; Get Column Names("String"); 

Stmt = "";
Stmt = ":" || ColNames[2] || "*2";
					   
Eval( Parse( Eval Insert("\[ dt &amp;lt;&amp;lt; New Column("Age_Squared",Numeric,Continuous,Formula(^Stmt^)); ]\" ) ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 15 Oct 2017 04:17:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45958#M26202</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2017-10-15T04:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45961#M26205</link>
      <description>&lt;P&gt;Thanks. Following your new code, go back the the previous example, still i have some problem. Can you help me?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
cdlg = Column Dialog( clist = ColList( "Pick 2 Columns", Min Col( 2 ), Max Col( 2 ) ) );
cols = cdlg["clist"];
newColExpr = Expr( dt &amp;lt;&amp;lt; New Column( "Radius", Numeric, Formula( Sqrt( Expr( cols ) ^ 2 + Expr( cols) ^ 2 ) ) ) );
Eval( Eval Expr( newColExpr ) );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;GM&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 13:45:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45961#M26205</guid>
      <dc:creator>GoodMan</dc:creator>
      <dc:date>2017-10-15T13:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45962#M26206</link>
      <description>Uday,&lt;BR /&gt;I checked your previous code again. Now i understand that &amp;amp;#91=[. So now I can figure it out now. Thank you anyway!&lt;BR /&gt;GM</description>
      <pubDate>Sun, 15 Oct 2017 06:53:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45962#M26206</guid>
      <dc:creator>GoodMan</dc:creator>
      <dc:date>2017-10-15T06:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: column reference plot of graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45972#M26215</link>
      <description>Those were meant to be square brackets. I've edited the post and corrected that.</description>
      <pubDate>Sun, 15 Oct 2017 13:44:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/column-reference-plot-of-graph-builder/m-p/45972#M26215</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2017-10-15T13:44:49Z</dc:date>
    </item>
  </channel>
</rss>

