<?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: Graph Exporting in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-Exporting/m-p/882982#M104725</link>
    <description>&lt;P&gt;You can use similar idea than you can with column switcher with the exception that data filters are more complicated to manipulate. Below is one option&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("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 454),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Local Data Filter(
		Add Filter(columns(:age), Display(:age, N Items(6)))
	)
);

Summarize(dt, items = By(:age));
lbb = (Report(gb) &amp;lt;&amp;lt; top parent)["Local Data Filter", ListBoxBox(1)];

pptx_loc = "$TEMP/powerpoint_test.pptx";
gb &amp;lt;&amp;lt; Save Presentation(pptx_loc);

For(i = 1, i &amp;lt;= N Items(items), i++,
	lbb &amp;lt;&amp;lt; Clear Selection;
	lbb &amp;lt;&amp;lt; Set Selected(i);
	gb &amp;lt;&amp;lt; Save Presentation(pptx_loc, Append);
	wait(0);
);

// Web(pptx_loc);

Write();
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But have you consider using Page instead of Local Data Filter? It is much simpler&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel(0),
	Variables(X(:weight), Y(:height), Overlay(:sex), Page(:age)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
);


pptx_loc = "$TEMP/powerpoint_test.pptx";
gb &amp;lt;&amp;lt; Save Presentation(pptx_loc);

// Web(pptx_loc);

Write();
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jul 2025 19:42:10 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-07-02T19:42:10Z</dc:date>
    <item>
      <title>Graph Exporting</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Exporting/m-p/882968#M104723</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am using a Local Data Filter to change my graph but i want it to iterate through each of the "switchers" and print each onto a powerpoint slide. Is this possible in JMP18?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 18:26:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Exporting/m-p/882968#M104723</guid>
      <dc:creator>NGC_DAquila</dc:creator>
      <dc:date>2025-07-02T18:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Exporting</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Exporting/m-p/882982#M104725</link>
      <description>&lt;P&gt;You can use similar idea than you can with column switcher with the exception that data filters are more complicated to manipulate. Below is one option&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("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 454),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Local Data Filter(
		Add Filter(columns(:age), Display(:age, N Items(6)))
	)
);

Summarize(dt, items = By(:age));
lbb = (Report(gb) &amp;lt;&amp;lt; top parent)["Local Data Filter", ListBoxBox(1)];

pptx_loc = "$TEMP/powerpoint_test.pptx";
gb &amp;lt;&amp;lt; Save Presentation(pptx_loc);

For(i = 1, i &amp;lt;= N Items(items), i++,
	lbb &amp;lt;&amp;lt; Clear Selection;
	lbb &amp;lt;&amp;lt; Set Selected(i);
	gb &amp;lt;&amp;lt; Save Presentation(pptx_loc, Append);
	wait(0);
);

// Web(pptx_loc);

Write();
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But have you consider using Page instead of Local Data Filter? It is much simpler&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel(0),
	Variables(X(:weight), Y(:height), Overlay(:sex), Page(:age)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
);


pptx_loc = "$TEMP/powerpoint_test.pptx";
gb &amp;lt;&amp;lt; Save Presentation(pptx_loc);

// Web(pptx_loc);

Write();
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 19:42:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Exporting/m-p/882982#M104725</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-07-02T19:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Exporting</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Exporting/m-p/882983#M104726</link>
      <description>&lt;P&gt;All you have to do is save each graph to the JMP Journal (ctrl&amp;gt;j). &amp;nbsp;Once you have all of the versions of the graphs in the journal, open the journal and export to PowerPoint.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 19:44:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Exporting/m-p/882983#M104726</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2025-07-02T19:44:22Z</dc:date>
    </item>
  </channel>
</rss>

