<?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 For loop in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/For-loop/m-p/662661#M85140</link>
    <description>&lt;P&gt;I would like to generate all these plots in one tab, rather than generating 50 different pages, can anyone help ? thank you&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
For( i = 1, i &amp;lt;= 50, i++,
	dt &amp;lt;&amp;lt; Bivariate(
		Y( Column( dt, "u" || Char( i ) ) ),
		X( Column( dt, "oven.T" ) ),
		Fit Line( {Line Color( {212, 73, 88} )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 18:51:01 GMT</pubDate>
    <dc:creator>ParametricStudy</dc:creator>
    <dc:date>2023-07-26T18:51:01Z</dc:date>
    <item>
      <title>For loop</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop/m-p/662661#M85140</link>
      <description>&lt;P&gt;I would like to generate all these plots in one tab, rather than generating 50 different pages, can anyone help ? thank you&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
For( i = 1, i &amp;lt;= 50, i++,
	dt &amp;lt;&amp;lt; Bivariate(
		Y( Column( dt, "u" || Char( i ) ) ),
		X( Column( dt, "oven.T" ) ),
		Fit Line( {Line Color( {212, 73, 88} )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:51:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop/m-p/662661#M85140</guid>
      <dc:creator>ParametricStudy</dc:creator>
      <dc:date>2023-07-26T18:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: For loop</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop/m-p/662671#M85141</link>
      <description>&lt;P&gt;Here is one way to do what you want&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = 
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
colListY = {};
For( i = 1, i &amp;lt;= 10, i++,
	Insert Into( colListY, "NPN" || Char( i ) )
);

dt &amp;lt;&amp;lt; Bivariate(
	Y( Eval( colListY ) ),
	X( Column( dt, "PNP1" ) ),
	Fit Line( {Line Color( {212, 73, 88} )} )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here is another way&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = 
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
colListY = {};
For( i = 1, i &amp;lt;= 10, i++,
	Insert Into( colListY, "NPN" || Char( i ) )
);
New Window( "My Output",
	H List Box(
		For( i = 1, i &amp;lt;= 10, i++,
			dt &amp;lt;&amp;lt; Bivariate(
				Y( Column( dt, colListY[i] ) ),
				X( Column( dt, "PNP1" ) ),
				Fit Line( {Line Color( {212, 73, 88} )} )
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:54:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop/m-p/662671#M85141</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-07-26T18:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: For loop</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop/m-p/662745#M85148</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 22:11:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop/m-p/662745#M85148</guid>
      <dc:creator>ParametricStudy</dc:creator>
      <dc:date>2023-07-26T22:11:02Z</dc:date>
    </item>
  </channel>
</rss>

