<?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 append in ppt in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/append-in-ppt/m-p/249803#M49053</link>
    <description>&lt;P&gt;Help- - how to append my for loop of producing of correlation plots from which each slide contains 4 plots?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( i = 1, i &amp;lt;= N Items( new_b ), i++,
				
				Bivariate(
					Y( Column( cor_tab, new_b[i] ) ),
					X( Column( cor_tab, ref_b[i] ) )));&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 29 Feb 2020 10:50:55 GMT</pubDate>
    <dc:creator>viskovicz00012</dc:creator>
    <dc:date>2020-02-29T10:50:55Z</dc:date>
    <item>
      <title>append in ppt</title>
      <link>https://community.jmp.com/t5/Discussions/append-in-ppt/m-p/249803#M49053</link>
      <description>&lt;P&gt;Help- - how to append my for loop of producing of correlation plots from which each slide contains 4 plots?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( i = 1, i &amp;lt;= N Items( new_b ), i++,
				
				Bivariate(
					Y( Column( cor_tab, new_b[i] ) ),
					X( Column( cor_tab, ref_b[i] ) )));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Feb 2020 10:50:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/append-in-ppt/m-p/249803#M49053</guid>
      <dc:creator>viskovicz00012</dc:creator>
      <dc:date>2020-02-29T10:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: append in ppt</title>
      <link>https://community.jmp.com/t5/Discussions/append-in-ppt/m-p/249815#M49056</link>
      <description>&lt;P&gt;JMP saving to PowerPoint will copy each individual graph to a separate slide.&amp;nbsp; Therefore, the below script groups the graphs into 2x2 groupings as a separate Picture object, and then saves those to PowerPoint.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);
cor_tab=open("$SAMPLE_DATA/semiconductor capability.jmp");

new_b = cor_tab &amp;lt;&amp;lt; get column names(string, continuous);
remove from(new_b,1,1);
ref_b = cor_tab &amp;lt;&amp;lt; get column names(string, continuous);

// Create a Journal to temporally hold the graphs
nwj = new window("Graphs", &amp;lt;&amp;lt;journal);

// Loop across the columns specified in the new_b list
For( i = 1, i &amp;lt;= N Items( new_b ), i++,
	// If this is the first of 4 graphs, create an object
	// to hold the graphs.  In this case, a linup box that
	// has 2 columns.  Four graphs, when passed to it will
	// be placed into a 2 column by 2 row display
	If( Mod( i, 4 ) == 1,
		fourby = Lineup Box( N Col( 2 ) )
	);
		
	// Run the Bivariate		
	biv = Bivariate( Y( Column( cor_tab, new_b[i] ) ), X( Column( cor_tab, ref_b[i] ) ) );
	
	// Take the output from the bivariate and place it in the outline box
	fourby &amp;lt;&amp;lt; append( Report( biv )[Outline Box( 1 )] );
	
	// Close the no longer needed Bivariate report
	biv &amp;lt;&amp;lt; close window;
	
	// If 4 graphs have been run or if this is the last graph,
	// it is time to move the outline box to the journal.  
	// If the outline box was copied directly to the journal,
	// it would be copied as a 2x2, but there would be 4 separate
	// graphs, and when the journal is saved to PowerPoint, JMP
	// would save each graph to a separate slide.  Therefore, the
	// 2x2 is converted to a single picture as it is moved to 
	// the journal.
	If( Mod( i, 4 ) == 0 | i == N Items( new_b ),
		nwj &amp;lt;&amp;lt; append( fourby &amp;lt;&amp;lt; get picture )
	);
);

// Save the journal as a PowerPoint 
nwj &amp;lt;&amp;lt; Save Presentation("$TEMP\the fourby charts.pptx");

// Close the no longer needed journal
nwj &amp;lt;&amp;lt; close window;

// Display the PowerPoint slides
open("$TEMP\the fourby charts.pptx");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Feb 2020 13:57:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/append-in-ppt/m-p/249815#M49056</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-02-29T13:57:49Z</dc:date>
    </item>
  </channel>
</rss>

