<?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: Fit Group Automate in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246180#M48360</link>
    <description>&lt;P&gt;update:&amp;nbsp;fixed the output part- it now outputs from 1-23, my problem is how do i append it to ppt arranged in 2 or 3 plots per slide?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2020 05:38:58 GMT</pubDate>
    <dc:creator>skyzvoir0001</dc:creator>
    <dc:date>2020-02-06T05:38:58Z</dc:date>
    <item>
      <title>Fit Group Automate</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246166#M48358</link>
      <description>&lt;P&gt;Im working with this code but somehow on the 9th output, it gets an error. Parameters_1 contains 23 items on it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current data table(subs);
for (i = 1, i &amp;lt;= nitems(parameters_1), i++,
&amp;nbsp;&amp;nbsp;&amp;nbsp; print(i);
&amp;nbsp; Oneway(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X( :Recipe ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y( column(subs, parameters_1[i]) ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; With Control(1),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantiles(1),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Means and Std Dev(1),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CDF Plot(1),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mean Error Bars(1),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Std Dev Lines(1),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SendToReport( Dispatch(&amp;nbsp; {}, "Fit Group", OutlineBox, {Set Title( "TYPE="||char(type)||"" )} ) )

&amp;nbsp;&amp;nbsp;&amp;nbsp; );

);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The outputs from 1-8 are shown individually. How do I code such that my output is arranged by 2 and save it into a ppt.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 09:07:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246166#M48358</guid>
      <dc:creator>skyzvoir0001</dc:creator>
      <dc:date>2020-02-06T09:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Group Automate</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246180#M48360</link>
      <description>&lt;P&gt;update:&amp;nbsp;fixed the output part- it now outputs from 1-23, my problem is how do i append it to ppt arranged in 2 or 3 plots per slide?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 05:38:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246180#M48360</guid>
      <dc:creator>skyzvoir0001</dc:creator>
      <dc:date>2020-02-06T05:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Group Automate</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246181#M48361</link>
      <description>&lt;P&gt;Concerning your error on parameter 9....what is the error that is displayed in the log?&lt;/P&gt;
&lt;P&gt;Below is a modification to your code that will display all of the outputs in 2 columns.&amp;nbsp; It also has the code to save the output to PowerPoint.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Current Data Table( subs );

nw = New Window( "Oneways",
	Lineup Box( N Col( 2 ),
		For( i = 1, i &amp;lt;= N Items( parameters_1 ), i++,
			Print( i );
			Oneway(
				X( :Recipe ),
				Y( Column( subs, parameters_1[i] ) ),
				With Control( 1 ),
				Quantiles( 1 ),
				Means and Std Dev( 1 ),
				CDF Plot( 1 ),
				Mean Error Bars( 1 ),
				Std Dev Lines( 1 ),
				SendToReport(
					Dispatch(
						{},
						"Fit Group",
						OutlineBox,
						{Set Title( "TYPE=" || Char( type ) || "" )}
					)
				)
 
			);, 
 
		)
	)
);
nw &amp;lt;&amp;lt; save presentation("$TEMP\reportppnw.pptx");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, this will not display 2 graphs per page.&amp;nbsp; By convention, JMP will place each graph on a separate slide.&amp;nbsp; To handle this, I typically create a journal where pairs of outputs have been copied over as pictures, and then at the end, the journal is saved to a pptx.&amp;nbsp; For that, something like below might work.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Current Data Table( subs );

For( i = 1, i &amp;lt;= N Items( parameters_1 ), i = i + 2,
	hlb = H List Box(
		Oneway(
			X( :Recipe ),
			Y( Column( subs, parameters_1[i] ) ),
			With Control( 1 ),
			Quantiles( 1 ),
			Means and Std Dev( 1 ),
			CDF Plot( 1 ),
			Mean Error Bars( 1 ),
			Std Dev Lines( 1 ),
			SendToReport(
				Dispatch(
					{},
					"Fit Group",
					OutlineBox,
					{Set Title( "TYPE=" || Char( type ) || "" )}
				)
			)
 
		),
		Try(
			Oneway(
				X( :Recipe ),
				Y( Column( subs, parameters_1[i + 1] ) ),
				With Control( 1 ),
				Quantiles( 1 ),
				Means and Std Dev( 1 ),
				CDF Plot( 1 ),
				Mean Error Bars( 1 ),
				Std Dev Lines( 1 ),
				SendToReport(
					Dispatch(
						{},
						"Fit Group",
						OutlineBox,
						{Set Title( "TYPE=" || Char( type ) || "" )}
					)
				)
 
			)
		);
		zippy = hlb &amp;lt;&amp;lt; get picture;
		zippy &amp;lt;&amp;lt; save presentation( "$TEMP\report.pptx", append );
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;BTW.....I did not completely test the code.&amp;nbsp; Therefore, there might be a slight issue or two, but the concepts are correct.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 06:17:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246181#M48361</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-02-06T06:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Group Automate</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246326#M48380</link>
      <description>thanks for this!</description>
      <pubDate>Thu, 06 Feb 2020 23:38:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246326#M48380</guid>
      <dc:creator>skyzvoir0001</dc:creator>
      <dc:date>2020-02-06T23:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Group Automate</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246333#M48382</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Fit Group(
	For( i = 1, i &amp;lt;= N Items( parameters_1 ), i = i + 2,
		hlb = H List Box(
			Oneway(
				X( :Recipe ),
				Y( Try( Column( subs, parameters_1[i] ) ) ),
				With Control( 1 ),
				Quantiles( 1 ),
				Means and Std Dev( 1 ),
				CDF Plot( 1 ),
				Mean Error Bars( 1 ),
				Std Dev Lines( 1 )

			),
			Try(
				Oneway(
					X( :Recipe ),
					Y( Column( subs, parameters_1[i + 1] ) ),
					With Control( 1 ),
					Quantiles( 1 ),
					Means and Std Dev( 1 ),
					CDF Plot( 1 ),
					Mean Error Bars( 1 ),
					Std Dev Lines( 1 )
				)
			);
			zippy = hlb &amp;lt;&amp;lt; get picture;
		)
	)
);

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the code you gave but somehow this gives me an error:&lt;/P&gt;
&lt;P&gt;Not Found in access or evaluation of 'Oneway' , Bad Argument(&lt;BR /&gt;{Try( Column( subs_top, parameters_1[i] ) ), Role requires at least 1 columns.}&lt;BR /&gt;), Oneway(/*###*/X( :Recipe ),&lt;BR /&gt;Y( Try( Column( subs_top, parameters_1[i] ) ) ),&lt;BR /&gt;With Control( 1 ),&lt;BR /&gt;Quantiles( 1 ),&lt;BR /&gt;Means and Std Dev( 1 ),&lt;BR /&gt;CDF Plot( 1 ),&lt;BR /&gt;Mean Error Bars( 1 ),&lt;BR /&gt;Std Dev Lines( 1 )&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;Fit Group[]&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 12:14:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246333#M48382</guid>
      <dc:creator>skyzvoir0001</dc:creator>
      <dc:date>2020-02-07T12:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Group Automate</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246334#M48383</link>
      <description>&lt;P&gt;but when trying the code i came up earlier,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Current Data Table( subs );
t0p = Fit Group(
	For( i = 1, i &amp;lt;= N Items( parameters_1 ), i++,
		Oneway(
			X( Column( subs, "Recipe" ) ),
			Y( Try( Column( subs, parameters_1[i] ) ) ),
			With Control( 1 ),
			Quantiles( 1 ),
			Means and Std Dev( 1 ),
			CDF Plot( 1 ),
			Mean Error Bars( 1 ),
			Std Dev Lines( 1 )
		)
	),
	SendToReport( Dispatch( {}, "Fit Group", OutlineBox, {Set Title( "TYPE=" || Char( type ) || "" )} ) )
) &amp;lt;&amp;lt; {Arrange in Rows( 2 )};&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;works but it does it individually.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 12:15:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-Automate/m-p/246334#M48383</guid>
      <dc:creator>skyzvoir0001</dc:creator>
      <dc:date>2020-02-07T12:15:29Z</dc:date>
    </item>
  </channel>
</rss>

