<?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 Generating Graphs with a FOR loop and appending to a Lineup Box in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Generating-Graphs-with-a-FOR-loop-and-appending-to-a-Lineup-Box/m-p/37939#M22216</link>
    <description>&lt;P&gt;JMP Pro 13. &amp;nbsp;I have several graphs that I'm generating with a FOR loop. &amp;nbsp;I'm attempting to append each looped graph to a lineup box. &amp;nbsp;&lt;/P&gt;&lt;P&gt;-The loop uses a list (CleanList) that is generated at another point in the script to define the Group X in the graph. &amp;nbsp;But first I use that CleanName to create a filter and data subset so the graph for that loop uses only that data. &amp;nbsp;&lt;/P&gt;&lt;P&gt;-I hid some of the basic graph stuff (Graph stuff here...) just to keep my script below easy to follow.&lt;/P&gt;&lt;P&gt;-I get a error (&lt;FONT color="#FF0000"&gt;PMcntLUB/*###*/ &amp;lt;&amp;lt;append&lt;/FONT&gt;) in the log when I attempt to run it. &amp;nbsp;&lt;/P&gt;&lt;P&gt;-Ultimately, this Lineup Box is inserted into a tab box with the other tabs being other components of my script. &amp;nbsp;&lt;/P&gt;&lt;P&gt;-I'm not dead set on using a lineup box and am happy to try alternatives so long as I can end up with a column of graphs generated by my FOR loop that are embedded in the tab box.&lt;/P&gt;&lt;PRE&gt;PMcntLUB = Lineup Box( N Col( 1 ) );
For(i=1, i&amp;lt;=n items(CleanList), i++,
	CleanName = CleanList[i]; 
	dtCleanName = dtPMcntStack &amp;lt;&amp;lt; Select Where(:Clean == CleanName) &amp;lt;&amp;lt; Subset(Output Table( "dt"||CleanName ) &amp;lt;&amp;lt; Show Window( 0 ););
	PMcntLUB &amp;lt;&amp;lt; append(Graph Builder(
		Graph Stuff Here,
                Variables(X( :ProcessEndDateTime ),Y( :RFhours ),Group X(:Clean)),&lt;BR /&gt;                More Graph Stuff Here),
	);
);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:01:13 GMT</pubDate>
    <dc:creator>MuttonChops</dc:creator>
    <dc:date>2023-06-11T11:01:13Z</dc:date>
    <item>
      <title>Generating Graphs with a FOR loop and appending to a Lineup Box</title>
      <link>https://community.jmp.com/t5/Discussions/Generating-Graphs-with-a-FOR-loop-and-appending-to-a-Lineup-Box/m-p/37939#M22216</link>
      <description>&lt;P&gt;JMP Pro 13. &amp;nbsp;I have several graphs that I'm generating with a FOR loop. &amp;nbsp;I'm attempting to append each looped graph to a lineup box. &amp;nbsp;&lt;/P&gt;&lt;P&gt;-The loop uses a list (CleanList) that is generated at another point in the script to define the Group X in the graph. &amp;nbsp;But first I use that CleanName to create a filter and data subset so the graph for that loop uses only that data. &amp;nbsp;&lt;/P&gt;&lt;P&gt;-I hid some of the basic graph stuff (Graph stuff here...) just to keep my script below easy to follow.&lt;/P&gt;&lt;P&gt;-I get a error (&lt;FONT color="#FF0000"&gt;PMcntLUB/*###*/ &amp;lt;&amp;lt;append&lt;/FONT&gt;) in the log when I attempt to run it. &amp;nbsp;&lt;/P&gt;&lt;P&gt;-Ultimately, this Lineup Box is inserted into a tab box with the other tabs being other components of my script. &amp;nbsp;&lt;/P&gt;&lt;P&gt;-I'm not dead set on using a lineup box and am happy to try alternatives so long as I can end up with a column of graphs generated by my FOR loop that are embedded in the tab box.&lt;/P&gt;&lt;PRE&gt;PMcntLUB = Lineup Box( N Col( 1 ) );
For(i=1, i&amp;lt;=n items(CleanList), i++,
	CleanName = CleanList[i]; 
	dtCleanName = dtPMcntStack &amp;lt;&amp;lt; Select Where(:Clean == CleanName) &amp;lt;&amp;lt; Subset(Output Table( "dt"||CleanName ) &amp;lt;&amp;lt; Show Window( 0 ););
	PMcntLUB &amp;lt;&amp;lt; append(Graph Builder(
		Graph Stuff Here,
                Variables(X( :ProcessEndDateTime ),Y( :RFhours ),Group X(:Clean)),&lt;BR /&gt;                More Graph Stuff Here),
	);
);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:01:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generating-Graphs-with-a-FOR-loop-and-appending-to-a-Lineup-Box/m-p/37939#M22216</guid>
      <dc:creator>MuttonChops</dc:creator>
      <dc:date>2023-06-11T11:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Generating Graphs with a FOR loop and appending to a Lineup Box</title>
      <link>https://community.jmp.com/t5/Discussions/Generating-Graphs-with-a-FOR-loop-and-appending-to-a-Lineup-Box/m-p/37941#M22218</link>
      <description>&lt;P&gt;Wow, my problem was that I had a commented line with forward slashes instead of back slashes....face palm. &amp;nbsp;Corrected that and the script works.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:47:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generating-Graphs-with-a-FOR-loop-and-appending-to-a-Lineup-Box/m-p/37941#M22218</guid>
      <dc:creator>MuttonChops</dc:creator>
      <dc:date>2017-04-10T16:47:33Z</dc:date>
    </item>
  </channel>
</rss>

