<?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: How to build boxplot chart and save it into local then insert into ppt in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729810#M91245</link>
    <description>&lt;P&gt;This method will keep the original Graph Builder format using a few more lines of code.&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;Names Default To Here( 1 );
dt = Open(
	"$DOWNLOADS/jmp test data.xlsx",
	Worksheets( "Sheet1" ),
	Use for all sheets( 1 ),
	Concatenate Worksheets( 0 ),
	Create Concatenation Column( 0 ),
	Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 1 ),
		Headers Start on Row( 1 ),
		Data Starts on Row( 2 ),
		Data Starts on Column( 1 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 0 ),
		Replicated Spanned Rows( 1 ),
		Replicated Spanned Headers( 0 ),
		Suppress Hidden Rows( 1 ),
		Suppress Hidden Columns( 1 ),
		Suppress Empty Columns( 1 ),
		Treat as Hierarchy( 0 ),
		Multiple Series Stack( 0 ),
		Import Cell Colors( 0 ),
		Limit Column Detect( 0 ),
		Column Separator String( "-" )
	)
);
thedate = Uppercase( Format( Today(), "Format Pattern", "&amp;lt;DD&amp;gt;&amp;lt;MMM&amp;gt;&amp;lt;YYYY&amp;gt; &amp;lt;hh24&amp;gt;&amp;lt;mm&amp;gt;&amp;lt;ss&amp;gt;" ) );
cols = Filter Each( {val, idx}, dt &amp;lt;&amp;lt; Get Column Names( "String" ), Contains( val, "Col_" ) );
remarkarray = Associative Array( :Col, :Remark );
For Each( {val, idx}, cols,
	text = val || "--" || remarkarray[Substitute( val, "_", "" )];
	pres = dt &amp;lt;&amp;lt; Graph Builder(
		Size( 534, 450 ),
		Show Control Panel( 0 ),
		Variables( X( :Fixture ), Y( Column( val ) ) ),
		Elements( Points( X, Y, Legend( 7 ) ), Box Plot( X, Y, Legend( 8 ) ) ),
		SendToReport( Dispatch( {}, "graph title", TextEditBox, {Set Text( "Fixture Comparison: " || text )} ) )
	);
	Report(pres)&amp;lt;&amp;lt;Save Picture("$DOCUMENTS/Fixtures " || thedate || " " || Char(idx) || ".png","png");
	pic = New Image("$DOCUMENTS/Fixtures " || thedate || " " || Char(idx) || ".png");
	nw = New Window("ppt pix",pb = Picture Box(pic));
	If( idx == 1,
		pb &amp;lt;&amp;lt; Save Presentation( "$DOCUMENTS/Fixtures " || thedate || ".pptx" ),
		pb &amp;lt;&amp;lt; Save Presentation( "$DOCUMENTS/Fixtures " || thedate || ".pptx", Append )
	);
	(pres &amp;lt;&amp;lt; Get Window) &amp;lt;&amp;lt; Close Window;
	nw &amp;lt;&amp;lt; Close Window;
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 23:05:58 GMT</pubDate>
    <dc:creator>mmarchandTSI</dc:creator>
    <dc:date>2024-03-04T23:05:58Z</dc:date>
    <item>
      <title>How to build boxplot chart and save it into local then insert into ppt</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729128#M91135</link>
      <description>&lt;P&gt;Hi,JMPer&lt;/P&gt;&lt;P&gt;I had one test data like as below.&lt;/P&gt;&lt;P&gt;I want to auto build boxplot chart which can compare each Col with Fixture, and each Col had one remark. (The title format: Fixture Comparison：Col--Remark).&lt;/P&gt;&lt;P&gt;How to auto build those boxplot chart loop with Col_1、Col_2、Col_3、Col_4. And auto save boxplot chart then insert into ppt?&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="iShot_2024-03-01_14.17.52.png" style="width: 612px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61686i39FD22D76A26D702/image-dimensions/612x719?v=v2" width="612" height="719" role="button" title="iShot_2024-03-01_14.17.52.png" alt="iShot_2024-03-01_14.17.52.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CompleteLeopard_1-1709274051089.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61688i8ECE3FFB5EA2754B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CompleteLeopard_1-1709274051089.png" alt="CompleteLeopard_1-1709274051089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CompleteLeopard_0-1709274035987.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61687iFAFA49D8ED9C70DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CompleteLeopard_0-1709274035987.png" alt="CompleteLeopard_0-1709274035987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 06:29:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729128#M91135</guid>
      <dc:creator>CompleteLeopard</dc:creator>
      <dc:date>2024-03-01T06:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to build boxplot chart and save it into local then insert into ppt</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729138#M91136</link>
      <description>&lt;P&gt;Upload the test data.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 06:31:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729138#M91136</guid>
      <dc:creator>CompleteLeopard</dc:creator>
      <dc:date>2024-03-01T06:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to build boxplot chart and save it into local then insert into ppt</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729207#M91151</link>
      <description>&lt;P&gt;I don't have much experience saving PowerPoint presentations, but this script does what you asked for, assuming the same column format every time.&amp;nbsp; It allows for more or fewer :Col_n columns without needing to make any adjustments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open(
	"$DOWNLOADS/jmp test data.xlsx",
	Worksheets( "Sheet1" ),
	Use for all sheets( 1 ),
	Concatenate Worksheets( 0 ),
	Create Concatenation Column( 0 ),
	Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 1 ),
		Headers Start on Row( 1 ),
		Data Starts on Row( 2 ),
		Data Starts on Column( 1 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 0 ),
		Replicated Spanned Rows( 1 ),
		Replicated Spanned Headers( 0 ),
		Suppress Hidden Rows( 1 ),
		Suppress Hidden Columns( 1 ),
		Suppress Empty Columns( 1 ),
		Treat as Hierarchy( 0 ),
		Multiple Series Stack( 0 ),
		Import Cell Colors( 0 ),
		Limit Column Detect( 0 ),
		Column Separator String( "-" )
	)
);
thedate = Uppercase( Format( Today(), "Format Pattern", "&amp;lt;DD&amp;gt;&amp;lt;MMM&amp;gt;&amp;lt;YYYY&amp;gt; &amp;lt;hh24&amp;gt;&amp;lt;mm&amp;gt;&amp;lt;ss&amp;gt;" ) );
cols = Filter Each( {val, idx}, dt &amp;lt;&amp;lt; Get Column Names( "String" ), Contains( val, "Col_" ) );
remarkarray = Associative Array( :Col, :Remark );
For Each( {val, idx}, cols,
	text = val || "--" || remarkarray[Substitute( val, "_", "" )];
	pres = dt &amp;lt;&amp;lt; Graph Builder(
		Size( 534, 450 ),
		Show Control Panel( 0 ),
		Variables( X( :Fixture ), Y( Column( val ) ) ),
		Elements( Points( X, Y, Legend( 7 ) ), Box Plot( X, Y, Legend( 8 ) ) ),
		SendToReport( Dispatch( {}, "graph title", TextEditBox, {Set Text( "Fixture Comparison: " || text )} ) )
	);
	If( idx == 1,
		Report( pres ) &amp;lt;&amp;lt; Save Presentation( "$DOCUMENTS/Fixtures " || thedate || ".pptx" ),
		Report( pres ) &amp;lt;&amp;lt; Save Presentation( "$DOCUMENTS/Fixtures " || thedate || ".pptx", Append )
	);
 (pres &amp;lt;&amp;lt; Get Window) &amp;lt;&amp;lt; Close Window;&lt;BR /&gt;);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2024 14:09:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729207#M91151</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2024-03-01T14:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to build boxplot chart and save it into local then insert into ppt</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729373#M91176</link>
      <description>&lt;P&gt;Hi, mmarchandTSI&lt;/P&gt;&lt;P&gt;Thank you very much. "Associative Array" is useful for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The picture save to PPT sames not beautiful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CompleteLeopard_0-1709358064777.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61735i91EB0283328FD314/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CompleteLeopard_0-1709358064777.png" alt="CompleteLeopard_0-1709358064777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to the picture save to ppt like this. Is it possible?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CompleteLeopard_1-1709358126564.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61736i922BC7007804BA76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CompleteLeopard_1-1709358126564.png" alt="CompleteLeopard_1-1709358126564.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2024 05:44:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729373#M91176</guid>
      <dc:creator>CompleteLeopard</dc:creator>
      <dc:date>2024-03-02T05:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to build boxplot chart and save it into local then insert into ppt</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729407#M91185</link>
      <description>&lt;P&gt;You could copy the pictures to the clipboard and paste them to PPT via a PowerShell script, like it's done in the&amp;nbsp;&lt;LI-MESSAGE title="Graph Builder Toolbar" uid="565466" url="https://community.jmp.com/t5/JMP-Add-Ins/Graph-Builder-Toolbar/m-p/565466#U565466" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1709380369207.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61746iB80AD9126FCF502D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1709380369207.png" alt="hogi_1-1709380369207.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2024 11:52:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729407#M91185</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-03-02T11:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to build boxplot chart and save it into local then insert into ppt</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729570#M91209</link>
      <description>&lt;P&gt;Thank you hogi. I used MAC, it sames the toolbar not effective for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 01:16:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729570#M91209</guid>
      <dc:creator>CompleteLeopard</dc:creator>
      <dc:date>2024-03-04T01:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to build boxplot chart and save it into local then insert into ppt</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729586#M91215</link>
      <description>&lt;P&gt;In this post&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;gives an example how to script in on a Mac:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Powerpoint-trigger-paste-clipboard/m-p/598508/highlight/true#M80224" target="_blank"&gt;https://community.jmp.com/t5/Discussions/Powerpoint-trigger-paste-clipboard/m-p/598508/highlight/true#M80224&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 05:55:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729586#M91215</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-03-04T05:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to build boxplot chart and save it into local then insert into ppt</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729810#M91245</link>
      <description>&lt;P&gt;This method will keep the original Graph Builder format using a few more lines of code.&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;Names Default To Here( 1 );
dt = Open(
	"$DOWNLOADS/jmp test data.xlsx",
	Worksheets( "Sheet1" ),
	Use for all sheets( 1 ),
	Concatenate Worksheets( 0 ),
	Create Concatenation Column( 0 ),
	Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 1 ),
		Headers Start on Row( 1 ),
		Data Starts on Row( 2 ),
		Data Starts on Column( 1 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 0 ),
		Replicated Spanned Rows( 1 ),
		Replicated Spanned Headers( 0 ),
		Suppress Hidden Rows( 1 ),
		Suppress Hidden Columns( 1 ),
		Suppress Empty Columns( 1 ),
		Treat as Hierarchy( 0 ),
		Multiple Series Stack( 0 ),
		Import Cell Colors( 0 ),
		Limit Column Detect( 0 ),
		Column Separator String( "-" )
	)
);
thedate = Uppercase( Format( Today(), "Format Pattern", "&amp;lt;DD&amp;gt;&amp;lt;MMM&amp;gt;&amp;lt;YYYY&amp;gt; &amp;lt;hh24&amp;gt;&amp;lt;mm&amp;gt;&amp;lt;ss&amp;gt;" ) );
cols = Filter Each( {val, idx}, dt &amp;lt;&amp;lt; Get Column Names( "String" ), Contains( val, "Col_" ) );
remarkarray = Associative Array( :Col, :Remark );
For Each( {val, idx}, cols,
	text = val || "--" || remarkarray[Substitute( val, "_", "" )];
	pres = dt &amp;lt;&amp;lt; Graph Builder(
		Size( 534, 450 ),
		Show Control Panel( 0 ),
		Variables( X( :Fixture ), Y( Column( val ) ) ),
		Elements( Points( X, Y, Legend( 7 ) ), Box Plot( X, Y, Legend( 8 ) ) ),
		SendToReport( Dispatch( {}, "graph title", TextEditBox, {Set Text( "Fixture Comparison: " || text )} ) )
	);
	Report(pres)&amp;lt;&amp;lt;Save Picture("$DOCUMENTS/Fixtures " || thedate || " " || Char(idx) || ".png","png");
	pic = New Image("$DOCUMENTS/Fixtures " || thedate || " " || Char(idx) || ".png");
	nw = New Window("ppt pix",pb = Picture Box(pic));
	If( idx == 1,
		pb &amp;lt;&amp;lt; Save Presentation( "$DOCUMENTS/Fixtures " || thedate || ".pptx" ),
		pb &amp;lt;&amp;lt; Save Presentation( "$DOCUMENTS/Fixtures " || thedate || ".pptx", Append )
	);
	(pres &amp;lt;&amp;lt; Get Window) &amp;lt;&amp;lt; Close Window;
	nw &amp;lt;&amp;lt; Close Window;
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 23:05:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729810#M91245</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2024-03-04T23:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to build boxplot chart and save it into local then insert into ppt</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729829#M91248</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;I will used python-pptx for generate PPT file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 01:26:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-build-boxplot-chart-and-save-it-into-local-then-insert/m-p/729829#M91248</guid>
      <dc:creator>CompleteLeopard</dc:creator>
      <dc:date>2024-03-05T01:26:30Z</dc:date>
    </item>
  </channel>
</rss>

